efficiencyx commited on
Commit
2dadb40
·
verified ·
1 Parent(s): ff25b95

v9 E2B channelwise int4 + fp16 KV: talks on the LiteRT-LM 0.20 GPU backend, blockwise build stays at 4f44fe1

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. model.litertlm +2 -2
README.md CHANGED
@@ -43,17 +43,19 @@ See the [GGUF card](https://huggingface.co/efficiencyx/Jun-LoRA-E2B-GGUF) for wh
43
  | | |
44
  |:--|:--|
45
  | File | `model.litertlm` |
46
- | Size | 2.86 GB |
47
  | Checkpoint | step 750 of 771, the one the GGUFs ship |
48
- | Weights | int4 blockwise (32) for embeddings and FFN/attention, int8 channelwise for the per-layer embedding projections |
 
49
  | Embedder | externalized |
50
  | KV cache | 8192 tokens |
51
- | Exported with | `litert-torch` 0.9.3, `ai-edge-quantizer` (recipe `gemma4_mixed48_b32`, flattened), packed with `litert-lm-builder` 0.18.1 |
52
- | Runtime | **LiteRT-LM 0.18.1 or newer** |
 
53
 
54
  Text only, with no vision or audio encoder.
55
 
56
- The quantization recipe is the v8 one: 32-wide int4 blocks match the 4-bit grid the QAT base was trained on, and per-channel int4 lost tool calling outright on v8. This build was smoke tested on LiteRT-LM 0.18.1 (CPU, desktop and the Android app), not put through the held-out eval the GGUFs got.
57
 
58
  ## Usage
59
 
 
43
  | | |
44
  |:--|:--|
45
  | File | `model.litertlm` |
46
+ | Size | 2.39 GB |
47
  | Checkpoint | step 750 of 771, the one the GGUFs ship |
48
+ | Weights | int4 channelwise for FFN and attention, int8 channelwise for the per-layer embedding projections (recipe `gemma4_mixed48`), int4 channelwise for both embedding tables |
49
+ | Activations | fp16, KV cache fp16 |
50
  | Embedder | externalized |
51
  | KV cache | 8192 tokens |
52
+ | Prefill | 128 and 1024 token signatures |
53
+ | Exported with | `litert-torch` 0.10.0 (`experimental_use_fp16`, `apply_gpu_composites`), `ai-edge-quantizer` 0.10.1, packed with `litert-lm-builder` 0.20.0 (weights in their own sections) |
54
+ | Runtime | **LiteRT-LM 0.19.0 or newer** |
55
 
56
  Text only, with no vision or audio encoder.
57
 
58
+ Earlier builds used 32-wide int4 blocks. From LiteRT-LM 0.20 on, the GPU backend turns those into nothing but `<pad>` tokens, so this build is channelwise, the same layout Google ships its own Gemma 4 files in. On a moto g86 (GPU, LiteRT-LM 0.20.0) it reads the system prompt about twice as fast as the blockwise build and writes around 3 tokens per second. It was smoke tested there, not put through the held-out eval the GGUFs got. The blockwise file is still at revision `4f44fe1`, for LiteRT-LM 0.18 and 0.19.
59
 
60
  ## Usage
61
 
model.litertlm CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b9c370bb92786b2e267428370808a2b5bf4dd94e6c3f0407f7798fc9b2a525da
3
- size 2859358352
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a75eb777f636b714b18968d65e2dd194af28fe1de8afe1c4c21d3545516fea4c
3
+ size 2389655552