Buckets:
34.8 GB
49 files
Updated 5 days ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| .gitattributes | 1.68 kB xet | 0bfb202d | |
| README.md | 1.82 kB xet | 5efce864 | |
| config.json | 2.91 kB xet | aee42316 | |
| qwen35_2b.litertlm | 1.9 GB xet | 6c2a411e | |
| qwen35_2b_q4.litertlm | 1.07 GB xet | 2551cdb9 | |
| tokenizer.json | 12.8 MB xet | 655d3f68 | |
| tokenizer_config.json | 16.7 kB xet | cc5f7504 |
Qwen 3.5 2B — LiteRT-LM (.litertlm)
Qwen 3.5 2B bundled as .litertlm for on-device inference with LiteRT-LM.
First working LiteRT-LM bundle of Qwen 3.5's hybrid GatedDeltaNet architecture.
Usage
import com.google.ai.edge.litertlm.*
val engine = Engine(EngineConfig(
modelPath = "/path/to/qwen35_2b.litertlm",
backend = Backend.GPU(), // or Backend.CPU()
))
engine.initialize()
engine.createConversation().use { conversation ->
conversation.sendMessageAsync("Hello!").collect { print(it) }
}
What's inside
The .litertlm bundle contains:
- TFLite model (int8 dynamic quantized, ~1.9 GB)
- BPE tokenizer (zlib compressed, from Qwen 3.5 2B)
Architecture
| Base model | Qwen/Qwen3.5-2B |
| Layers | 24 total: 18× GatedDeltaNet linear attention + 6× GQA full attention |
| Quantization | int8 dynamic |
| Size | ~1.9 GB |
GatedDeltaNet Linear Attention
Recurrent state-space attention with A_log decay, short conv1d, output gating. No KV cache needed — maintains a fixed-size recurrent state per head.
Full Attention (every 4th layer)
Grouped query attention with asymmetric head dims (Q=512 partial rotary, KV=256). Standard softmax attention with KV cache.
Conversion
Custom model authoring using litert-torch Generative API with GatedDeltaNet implemented as standard TFLite ops. No custom GPU kernels required.
Source: allot/tools/model-export
- Total size
- 34.8 GB
- Files
- 49
- Last updated
- Jul 6
- Pre-warmed CDN
- US EU US EU