This is a randomly initialized tiny model based on Aleph-Alpha/Kolibri-1.1 for testing and debugging.

Feature Source This repo
Checkpoint tensor elements 2.39B BF16, 4.44M F32, 72.72B F8_E4M3 49.70M BF16, 420 F32, 6.88M F8_E4M3
Safetensors weight files 77.54 GB (31 files) 106.39 MB (model.safetensors)
Decoder layers 50 10
Layer cadence 4 sliding + 1 indexed, repeating Same
Indexer layers / indexed layers 4, 14, 19, 29 / 10 4 / 2
KV-sharing layers Reuse K/V of 4, 14, 19, 29 Reuse K/V of 4
Hidden size / heads / KV heads / head dim 2560 / 48 / 4 / 128 128 / 48 / 4 / 128
Index heads / top-k / pool size / compression 12 / 2048 / 16384 / 16 Same
Routed experts / experts per token / shared 384 / 6 / 1 16 / 6 / 1
MoE / shared-expert intermediate 512 / 512 128 / 128
Dense layers / intermediate 0, 1 / 3584 0, 1 / 256
Vocabulary 128,000 128,000
Attention precision BF16 Same
MLP / expert precision FP8 e4m3, 128x128 blocks, FP32 scales Same
File path Size
model.safetensors 106.4MB

Example usage

vLLM serving with sparse NVFP4 attention (✅ verified)

Install Aleph Alpha's vLLM plugin (aleph-alpha-inference>=2, targeting vLLM 0.33 on SM90/SM100 GPUs). The plugin registers Kolibri1_1ForCausalLM, the kolibri1 reasoning and tool parsers, 128-token NVFP4 sparse KV pages and FlashAttention 4; its kernels require TP=1 and native Q48/KV4/D128 heads, which this checkpoint preserves. Leave CUDA graph flags absent so vLLM captures both piecewise and full decode graphs natively.

pip install 'aleph-alpha-inference>=2'
vllm serve tiny-random/kolibri-1.1 \
  --reasoning-parser kolibri1 \
  --tool-call-parser kolibri1 \
  --enable-auto-tool-choice \
  --max-model-len 4096 \
  --gpu-memory-utilization 0.5

Query the OpenAI-compatible chat endpoint with thinking disabled or enabled (enable_thinking / reasoning_effort).

curl http://localhost:8000/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{"model": "tiny-random/kolibri-1.1", "messages": [{"role": "user", "content": "What is the capital of France?"}], "temperature": 0, "max_tokens": 16, "chat_template_kwargs": {"enable_thinking": false}}'

curl http://localhost:8000/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{"model": "tiny-random/kolibri-1.1", "messages": [{"role": "user", "content": "What is the capital of France?"}], "temperature": 0, "max_tokens": 16, "chat_template_kwargs": {"enable_thinking": true, "reasoning_effort": "low"}}'

Transformers FP8 generation (✅ verified)

Kolibri-1.1 needs the pinned Transformers build (transformers main, commit 539b6c4e16c3dc36a4cb26509269a22a96163029) and kernels>=0.19.1. The checkpoint keeps the source's per-expert FP8 e4m3 weights with 128x128 FP32 block scales; attention stays BF16 while the dense MLP, shared experts and routed experts are FP8. use_kernels=False skips unrelated hub layer kernels, while the FP8 matmuls still load the finegrained-fp8 hub kernel. experts_implementation="batched_mm" is required: the default grouped Triton kernel miscomputes tiny token batches at this expert width.

def run_model(model_id: str) -> None:
    import torch
    from transformers import AutoModelForCausalLM, AutoTokenizer

    tokenizer = AutoTokenizer.from_pretrained(model_id)
    model = AutoModelForCausalLM.from_pretrained(
        model_id,
        dtype=torch.bfloat16,
        use_kernels=False,
        experts_implementation="batched_mm",
    ).to("cuda")
    messages = [{"role": "user", "content": "What is the capital of France?"}]
    text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
    inputs = tokenizer(text, return_tensors="pt").to("cuda")
    with torch.inference_mode():
        output = model.generate(**inputs, max_new_tokens=16, do_sample=False)
    print(tokenizer.decode(output[0][inputs["input_ids"].shape[1] :], skip_special_tokens=True))
    print(model)


if __name__ == "__main__":
    run_model(model_id="tiny-random/kolibri-1.1")

Creating this repo

Change log

  • 2026-11-30: Initial tiny FP8-block Kolibri-1.1 preserving native Q48/KV4/D128 sparse NVFP4 attention and KV sharing; verified on vLLM (aleph-alpha-inference) and Transformers.

This repo is generated by DeepSeek-V4.1-Flash.

Downloads last month
80
Safetensors
Model size
56.6M 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 yujiepan/kolibri-1.1-tiny-random

Quantized
(12)
this model

Collection including yujiepan/kolibri-1.1-tiny-random