Tiny dummy models
Collection
Randomly initialized tiny models for debugging/testing purpose • 236 items • Updated • 8
This is a randomly initialized tiny model based on baidu/ERNIE-5.5-Flash-Preview for testing and debugging.
| Feature | Source | This repo |
|---|---|---|
| Checkpoint tensor elements | 2.10B BF16, 39.24M F32, 7.51B F8_E4M3, 9.06B F8_E8M0, 144.96B I8 | 56.58M BF16, 1.30M F32, 20.89M F8_E4M3, 835.58K F8_E8M0, 13.37M I8 |
| Safetensors weight files | 165.90 GB (129 files) | 153.78 MB (model.safetensors) |
| Decoder layers / attention cycle | 43 / 7 HCA + 1 MLA | 15 / same two cycles |
| HCA heads / head dimension | 64 / 512 | 4 / 512 |
| MLA heads / qk_nope / rope / v | 64 / 192 / 64 / 256 | 4 / 192 / 64 / 256 |
| Q-LoRA / O-LoRA / output groups | 1024 / 1024 / 8 | 128 / 128 / 8 |
| MLA KV-LoRA latent | 512 | 512 |
| Indexer heads / head dim / top-k | 64 / 128 / 2048 | 64 / 128 / 2048 |
| Routed experts / experts per token | 512 / 10 | 16 / 10 |
| Shared experts | 1 | 1 |
| Hidden / dense intermediate | 4096 / 14336 | 128 / 256 |
| MoE expert / latent width | 2048 / 2048 | 128 / 256 |
| Vocabulary / tied embeddings | 201,216 / false | 201,216 / false |
| mHC streams / Sinkhorn iterations | 4 / 20 | 4 / 20 |
| DSpark draft layers / block size / Markov rank | 3 / 7 / 256 | 3 / 7 / 8 |
| Linear precision | e4m3, 128x128 blocks | Same |
| Routed-expert precision | MXFP4 e2m1, UE8M0 per 32 | Same |
| File path | Size |
|---|---|
| model.safetensors | 153.8MB |
Install the tested SGLang revision from PR #51236. This revision resolves the decode phase to a full CUDA graph; SGLang itself disables prefill graphs for ERNIE 5.5's compressed-KV attention. Hopper GPUs run the MXFP4 routed experts through the Marlin backend, so pass --moe-runner-backend marlin.
SGLANG_BUILD_RUST_EXTS=none pip install 'git+https://github.com/sgl-project/sglang.git@fe204897f613bbec1d0ae3595db2b1fdd322ef7d#subdirectory=python'
sglang serve --model-path tiny-random/ernie-5.5-flash-preview --tp 2 --ep 2 --moe-runner-backend marlin --trust-remote-code \
--dtype bfloat16 --context-length 2048 --mem-fraction-static 0.3 \
--watchdog-timeout 1800
The checkpoint's Python tokenizer composes the chat prompt, including system messages and multi-turn history. Send a messages list to the OpenAI-compatible chat endpoint.
curl http://localhost:30000/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model": "tiny-random/ernie-5.5-flash-preview", "max_tokens": 10, "temperature": 0, "ignore_eos": true, "messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello"}
]}'
curl http://localhost:30000/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model": "tiny-random/ernie-5.5-flash-preview", "max_tokens": 10, "temperature": 0, "ignore_eos": true, "messages": [
{"role": "user", "content": "What is the capital of France?"},
{"role": "assistant", "content": "The capital of France is Paris."},
{"role": "user", "content": "And of Japan?"}
]}'
This repo is generated by GPT-6.1-Sol
Base model
baidu/ERNIE-5.5-Flash-Base