Archive unused LiteRT artifact: hf_archive_2026-06-14_README.md
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495# Pocket Talk LiteRT Model Archive - 2026-06-14
This archive contains local model artifacts that are no longer on the active Pocket Talk test path.
## Current Artifacts Kept Locally
These are intentionally not part of this archive:
- `gemma-4-E2B-it.litertlm` - Official Google/LiteRT community Gemma 4 E2B IT baseline. - Known-good Pocket Talk reference model. - Initializes and runs on the Moto G71 GPU at 2000+ tokens. - Kept locally because it is the comparison baseline for every future model.
- `output/model-trevor-dyn-wi4-afp32-vision280.litertlm` - Current best working TrevorJS abliterated Gemma 4 E2B candidate. - Built via the community/Kaggle-style Gemma 4 LiteRT path, then spliced with official non-language sections. - Patched so vision encoder/adapter expose only the `vision_280` signatures. - Tested on phone: initializes on GPU at 2000 tokens, generates text, accepts images, and produces image-grounded responses. - Kept locally because this is the active model we should keep improving.
## Archived Model Artifacts
### `peppx_gemma4_e2b_uncensored_MAX.litertlm`
- Local size: 2,550,041,824 bytes.- SHA256: `34738F7EB50D04EE123D23DCEA0DF0B49E074B555134101251685F9416F39BB9`.- Source role: PeppX community comparison candidate for an uncensored Gemma 4 E2B LiteRT-LM package.- Structure noted during research: - 5 sections only. - Text-only public-export style bundle. - Signatures include `prefill_128`, `prefill_256`, `prefill_512`, `prefill_1024`, and `decode`. - KV cache and mask were FLOAT32. - Target-path dequant count was 0.- Why archived: - Useful as a reference/community comparison, but not our current winning artifact. - The current working model is the official-spliced Trevor WI4 Vision280 build, which has phone GPU and image success.
### `gemma4_final.litertlm`
- Local size: 277,053,440 bytes.- SHA256: `F0897EF21CDD3C86F364DE7FEA4D5931CBB82D34A159867654544787C784E7F4`.- Source role: early local Gemma 4 LiteRT conversion attempt.- Why archived: - Much smaller than the real official Gemma 4 E2B LiteRT-LM package, so it is not comparable to the working 2.58 GB baseline. - Superseded by later official-prefill, targeted-quantization, community recipe, and final Vision280 experiments. - Not part of the current app allowlist or phone test path.
### `model_gemma4_final.litertlm`
- Local size: 47,495,220 bytes.- SHA256: `F6A5CEC0BA11263F4E0621F46650373A54C1C7952F1D56B0F2E14DDF18DEFA6B`.- Source role: very early small Gemma 4 LiteRT artifact.- Why archived: - Too small to be a complete Gemma 4 E2B LiteRT-LM package. - Kept only as historical evidence from the first conversion pass. - Superseded by the working Trevor WI4 Vision280 model.
## Archived Diagnostic Fragments
These `.bin` files are not runnable models. They are binary slices captured during debugging to compare official vs custom package internals.
- `official_head_16mb.bin` - SHA256: `699C6EE24CF148758801933DD12D87ED3098C15E52F2868CB40C561DC056D08B`. - First 16 MiB of the official baseline package.
- `official_prefill_head_8mb.bin` - SHA256: `C1B3BEB79B275B510333A2B88C7D3199D4E9FBA15C83CAC2A1D0F0C03DA5313A`. - First 8 MiB of the official prefill/decode section.
- `official_prefill_head_64mb.bin` - SHA256: `F15645732C97911D0BABF0D18EFEC65117E002D61401F04CF0F0F250E9A47E8A`. - First 64 MiB of the official prefill/decode section.
- `official_prefill_tail_from_800mb.bin` - SHA256: `98F504DAACBF841B1BE18C61B73C8D75761C4ED3E0A1613C51786A968C01C53F`. - Tail slice captured from around the official prefill/decode section.
- `modelihope_prefill_head_8mb.bin` - SHA256: `BB914C6C0B9C31E0572A360AEC42FD15A7EB8AE87C829BB9D322FB8E2724E23D`. - First 8 MiB of the early `modelihope` custom prefill/decode section.
- `modelthelasthope_prefill_head_12mb.bin` - SHA256: `A3D9912B814E137D30BE5FD99AE469BCB22E3113D3C2357CA7F8CD65C099CB12`. - First 12 MiB of the early `modelthelasthope` custom prefill/decode section.
## Main Learning
The old failed path was not simply "model too large." The important pattern was model structure:
- Official Gemma worked because its runtime sections, signatures, and GPU-compatible graph layout matched LiteRT-LM expectations.- Older direct public exports commonly exposed FLOAT32 KV/cache-related paths and produced Adreno GPU delegate shape mismatches.- CPU fallback helped prove graph compatibility for some builds, but large custom models could still trigger Android low-memory kills.- The working path was the community Gemma 4 export recipe plus official-section splicing, then patching the vision signatures down to `vision_280`.
archive/2026-06-14/README.mdAdded+95