This is a randomly initialized tiny model based on ai-sage/GigaChat4-37B-A4B for testing and debugging.

Feature Source This repo
Checkpoint tensor elements 2.40B BF16, 2.23M F32, 36.49B F8_E4M3 75.78M BF16, 2.19K F32, 35.86M F8_E4M3
Safetensors weight files 41.30 GB (4 files) 187.54 MB (2 files)
Decoder layers / attention cycle 32 / 3 GDN + 1 DSA, full at 3, 7, ..., 31 8 / 3 GDN + 1 DSA, full at 3, 7
Dense first layers 1 1
MLA heads / qk_nope / rope / v 32 / 128 / 64 / 128 8 / 128 / 64 / 128
Q-LoRA / KV-LoRA latent 1536 / 512 128 / 512
GDN key heads / value heads / head dim 16 / 32 / 128 8 / 16 / 128
DSA indexer heads / head dim / top-k 64 / 128 / 2048 64 / 128 / 2048
Routed experts / experts per token / shared 192 / 8 / 1 16 / 8 / 1
Hidden / dense intermediate / MoE intermediate 2560 / 8192 / 768 128 / 256 / 512
Vocabulary / tied embeddings 128,256 / false 128,256 / false
NEXTN draft layers 1 (recurrent MTP) 1 (recurrent MTP)
DFlash2 draft layers / selector rank 5 / 256 2 / 16
Gate norm bottleneck 16 16
Linear and expert precision e4m3, 128x128 blocks Same
File path Size
dflash_draft/model.safetensors 15.3MB
model.safetensors 172.2MB

Example usage

SGLang serving with recurrent MTP (✅ verified)

Install the SGLang revision tested by the source model card. Keep CUDA graph flags absent: this revision captures the target verification graph in full mode and the prefill graph in its native breakable mode, and the NEXTN layer bundled in the checkpoint drives recurrent MTP speculative decoding.

SGLANG_BUILD_RUST_EXTS=none pip install 'git+https://github.com/sgl-project/sglang.git@ff142897935ec6ede004dea8439d6111110bd446#subdirectory=python'
sglang serve --model-path tiny-random/gigachat-4 --tp 4 \
  --dtype bfloat16 --context-length 4096 --mem-fraction-static 0.4 \
  --reasoning-parser auto --tool-call-parser auto \
  --speculative-algorithm EAGLE --speculative-num-steps 3 --speculative-eagle-topk 1 \
  --speculative-num-draft-tokens 4 --watchdog-timeout 1800

The shipped chat template selects instant or reasoning mode per request. Send a messages list to the OpenAI-compatible chat endpoint; with reasoning false the answer is plain text, with it true the thinking trace arrives separately.

curl http://localhost:30000/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{"model": "tiny-random/gigachat-4", "max_tokens": 10, "temperature": 0, "ignore_eos": true,
        "chat_template_kwargs": {"reasoning": false},
        "messages": [{"role": "user", "content": "What is 17 times 24?"}]}'

curl http://localhost:30000/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{"model": "tiny-random/gigachat-4", "max_tokens": 10, "temperature": 0, "ignore_eos": true,
        "chat_template_kwargs": {"reasoning": 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?"}
      ]}'

Creating this repo

Change log

  • 2026-11-29: Initial tiny GigaChat-4 checkpoint; block-FP8 linears, GDN/MLA hybrid, NEXTN draft and DFlash2 draft.

This repo is generated by GPT-6.1-Sol

Downloads last month
-
Safetensors
Model size
0.1B params
Tensor type
BF16
·
F8_E4M3
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for tiny-random/gigachat-4

Quantized
(4)
this model

Collection including tiny-random/gigachat-4