tiny ramdom models
Collection
198 items • Updated • 12
This is a randomly initialized tiny model based on nvidia/Nemotron-Labs-Image-30B-A3B for testing and debugging.
| Feature | Source | This repo |
|---|---|---|
| Checkpoint tensor elements | 32.63B F32 | 93.82M BF16, 240 F32 |
| Safetensors weight files | 133.11 GB (33 files) | 187.67 MB (model.safetensors) |
| Decoder layers / cadence | 52 / four cycles of 4 Mamba-2 + 2 MoE + 1 attention, then 11 layers | 14 / two cycles of 4 Mamba-2 + 2 MoE + 1 attention |
| Attention layers | 5, 12, 19, 26, 33, 42 | 5, 12 |
| Dense MLP layers | none | none |
| Attention heads / KV heads / head dim | 32 / 2 / 128 | 4 / 2 / 128 |
| Mamba heads / head dim / state / groups | 64 / 64 / 128 / 8 | 8 / 64 / 128 / 8 |
| Routed experts / experts per token / shared | 128 / 6 / 1 | 16 / 6 / 1 |
| MoE / shared-expert intermediate | 1,856 / 3,712 | 256 / 256 |
| Hidden / dense intermediate | 2,688 / 1,856 | 128 / 256 |
| Vocabulary / tied embeddings | 327,680 / false | 327,680 / false |
| Text tokenizer / reserved rows | 131,072 / 327,680 | 131,072 / 327,680 |
| Serialized precision | F32 shards (source card declares bfloat16 generation) | bfloat16 weights, fp32 mamba decay and router bias |
| Image tokenizer | L24SQ ViT, 2.57 GB | Not included (language model only) |
| File path | Size |
|---|---|
| model.safetensors | 187.7MB |
Install the SGLang revision validated for this checkpoint. Keep CUDA graph flags absent: this revision decides graph capture for the hybrid Mamba-2/attention model itself, and the checkpoint keeps the source's backbone. tensor names, which SGLang loads natively.
SGLANG_BUILD_RUST_EXTS=none pip install 'git+https://github.com/sgl-project/sglang.git@ff142897935ec6ede004dea8439d6111110bd446#subdirectory=python'
sglang serve --model-path tiny-random/nemotron-h --tp 4 \
--dtype bfloat16 --context-length 4096 --mem-fraction-static 0.4 \
--watchdog-timeout 1800
Send completion requests to the /generate endpoint. The checkpoint is language-only: the source's L24SQ image tokenizer and the pixel-as-code harness are not part of this card.
curl http://localhost:30000/generate \
-H 'Content-Type: application/json' \
-d '{"text": "Hello, my name is", "sampling_params": {"temperature": 0, "max_new_tokens": 10, "ignore_eos": true}}'
curl http://localhost:30000/generate \
-H 'Content-Type: application/json' \
-d '{"text": "The capital of France is", "sampling_params": {"temperature": 0, "max_new_tokens": 10, "ignore_eos": true}}'
backbone. checkpoint schema.This repo is generated by GPT-6.1-Sol
Base model
nvidia/Nemotron-Labs-Image-30B-A3B