tiny ramdom models
Collection
166 items • Updated • 11
This is a randomly initialized tiny model based on thinkingmachines/Inkling-2-Mini for testing and debugging.
| Feature | Source | Tiny |
|---|---|---|
| Checkpoint tensor elements (including packed weights/scales) | 2.25B BF16, 247.85K F32, 5.35B F8_E4M3, 10.32B U8 | 62.03M BF16, 9.75K F32, 12.39M F8_E4M3, 23.89M U8 |
| Safetensors weight files (including MTP) | 20.16 GB (2 files) | 160.44 MB (2 files) |
| Decoder layers / attention residual block | 24 / 6 | 12 / 6 |
| Loop core / passes per token | 6-17 / 3 (48 layer visits) | 6-11 / 3 (24 layer visits) |
| Attention cycle | 5 SWA + 1 global | Same; two complete cycles |
| Routed experts / experts per token | 128 / 8 | 96 / 8 |
| Expert precision | 20 NVFP4 + 4 MXFP8 layers | 10 NVFP4 + 2 MXFP8 layers |
| Vocabulary / tied embeddings | 201,024 / false | 201,024 / false |
| Hidden / expert width | 2,304 / 1,152 | 128 / 128 |
| Q heads / KV heads / head dimension | 24 / 8 / 128 | 8 / 4 / 128 |
| Vision width / layers | 1,024 / 23 | 32 / 4 |
| MTP layers / block size / Markov rank | 3 / 8 / 256 | 3 / 8 / 8 |
| MTP feature taps | 5,23,41,48 | 5,11,23,24 |
| File path | Size |
|---|---|
| model.safetensors | 153.8MB |
| mtp.safetensors | 6.7MB |
Looped Inkling 2 support is in SGLang PR #51926 (git+https://github.com/sgl-project/sglang.git@refs/pull/51926/head#subdirectory=python), not a released wheel.
SGLANG_BUILD_RUST_EXTS=none pip install 'git+https://github.com/sgl-project/sglang.git@refs/pull/51926/head#subdirectory=python'
sglang serve --model-path tiny-random/inkling2-loop --tp 2 --ep 2 \
--dtype bfloat16 --attention-backend fa4 --enable-multimodal \
--context-length 2048 --mem-fraction-static 0.2 \
--watchdog-timeout 1800 \
--cuda-graph-config '{"decode": {"backend": "disabled"}, "prefill": {"backend": "disabled"}}' \
--reasoning-parser inkling --tool-call-parser inkling2
Then call the OpenAI-compatible endpoint. Messages use the usual role/content parts; an image is an image_url part with a data: URL:
curl http://localhost:30000/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model": "tiny-random/inkling2-loop", "messages": [
{"role": "user", "content": [
{"type": "text", "text": "Describe this image."},
{"type": "image_url", "image_url": {"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg=="}}
]}
]}'
This repo is generated by GPT-6.1-Sol
Base model
thinkingmachines/Inkling-2-Mini