tiny ramdom models
Collection
170 items • Updated • 12
This is a randomly initialized tiny model based on thinkingmachines/Inkling-2-Small-MXFP8 for testing and debugging.
| Feature | Source | This repo |
|---|---|---|
| Checkpoint tensor elements (including packed weights/scales) | 8.69B BF16, 534.53K F32, 587.07B F8_E4M3, 18.35B U8 | 62.94M BF16, 4.16K F32, 28.31M F8_E4M3, 884.74K U8 |
| Safetensors weight files (including MTP) | 622.80 GB (49 files) | 155.14 MB (2 files) |
| Decoder layers / attention residual block | 48 / 6 | 12 / 6 |
| Attention cycle | 5 SWA + 1 global | Same; two complete cycles |
| Routed experts / experts per token | 384 / 8 | 48 / 8 |
| Expert precision | 48 MXFP8 layers | 12 MXFP8 layers |
| MXFP8 block shape / scale dtype | [32, 32] / UE8M0 | Same |
| Vocabulary / tied embeddings | 201,024 / false | 201,024 / false |
| Hidden / expert width | 4,608 / 2,304 | 128 / 128 |
| Q heads / KV heads / head dimension | 48 / 8 / 128 | 8 / 4 / 128 |
| Vision width / layers | 1,024 / 23 | 32 / 4 |
| MTP layers / block size / Markov rank | 5 / 8 / 256 | 5 / 8 / 8 |
| MTP feature taps | 5,11,17,23,29,35,41,48 | 5,12 (final norm sentinel) |
| File path | Size |
|---|---|
| model.safetensors | 146.2MB |
| mtp.safetensors | 9.0MB |
Install the tested SGLang revision from PR #51926. Keep CUDA graph flags absent: this revision resolves Inkling prefill and decode to full graphs.
SGLANG_BUILD_RUST_EXTS=none pip install 'git+https://github.com/sgl-project/sglang.git@87d973030a5903c52b656e43bad37de15a4c9132#subdirectory=python'
sglang serve --model-path tiny-random/inkling-2-mxfp8 --tp 2 --ep 2 \
--dtype bfloat16 --attention-backend fa4 --enable-multimodal \
--context-length 2048 --mem-fraction-static 0.2 \
--watchdog-timeout 1800 \
--reasoning-parser inkling --tool-call-parser inkling2
This example uses plain decoding (no DSpark). Send a messages list to the OpenAI-compatible chat endpoint. For images, use an image_url content part with a data: URL.
curl http://localhost:30000/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model": "tiny-random/inkling-2-mxfp8", "max_tokens": 10, "temperature": 0, "ignore_eos": true,
"messages": [{"role": "user", "content": "Hello"}]}'
curl http://localhost:30000/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model": "tiny-random/inkling-2-mxfp8", "max_tokens": 10, "temperature": 0, "ignore_eos": true, "messages": [
{"role": "user", "content": [
{"type": "text", "text": "Describe this image."},
{"type": "image_url", "image_url": {"url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAIAAAABc2X6AAAAaUlEQVR42u3PAQEAMAQAMJ5QHHFEfQ+2BsvqiUteHCMsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLCwsLLzbB8E/AgjBE0HxAAAAAElFTkSuQmCC"}}
]}
]}'
This repo is generated by GPT-6.1-Sol
Base model
thinkingmachines/Inkling-2-Small-MXFP8