Downloads · 30 days
187
3% of all-time downloads
r0b0tlab/nex-n2-mini-nvfp4
nex-n2-mini-nvfp4 is a text generation model from r0b0tlab. Use it when you need the model to write or continue text. It is set up for vllm. The card lists the license as apache-2.0.
NVFP4-quantized Nex-N2-mini (Qwen3.5-MoE-35B fine-tune) optimized for NVIDIA Blackwell (SM 12.1) serving via vLLM with FlashInfer CUTLASS kernels.
Downloads · 30 days
187
3% of all-time downloads
All-time downloads
5.9K
Public
Parameters
18.5B
24.8 GB on disk
Likes
6
Public
Click a slice to open those files.
.safetensors24.8 GB · 100%
How the weights are stored.
U816.2B · 75%
From the Hugging Face model README
NVFP4-quantized Nex-N2-mini (Qwen3.5-MoE-35B fine-tune) optimized for NVIDIA Blackwell (SM 12.1) serving via vLLM with FlashInfer CUTLASS kernels.
3.2× compression (70 GB BF16 → 22.1 GiB NVFP4) with zero quality loss on capability tests.
The easiest way to serve this model — auto-downloads on first run:
docker run -d --name nex-n2-mini-nvfp4 \
--gpus all \
--shm-size=8g \
-e HF_TOKEN=hf_xxxxx \
-v nex-n2-model:/mnt/model \
-p 8000:8000 \
ghcr.io/r0b0tlab/nex-n2-mini-nvfp4:latest
Then query:
curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model":"r0b0tlab/nex-n2-mini-nvfp4","messages":[{"role":"user","content":"Hello!"}],"max_tokens":100}'
Docker Compose:
echo "HF_TOKEN=hf_xxxxx" > .env
docker compose up -d
See the GitHub repo for full documentation, environment variables, and AGENTS.md.
| Property | Value |
|---|---|
| Base model | Nex-AGI/Nex-N2-mini |
| Architecture | Qwen3_5MoeForConditionalGeneration |
| Parameters | 35B total / 3B active (MoE, 256 experts, top-8 routing) |
| Layers | 40 (30 linear attention + 10 full attention) |
| Vocabulary | 248,320 tokens |
| Vision encoder | ViT (27 blocks, 1152 hidden) — kept BF16 |
| Original size | ~70 GB (BF16) |
| NVFP4 size | ~22.1 GiB |
Included in checkpoint:
Tested on NVIDIA GB10 (Blackwell SM 12.1), vLLM v0.22.0, FlashInfer CUTLASS NVFP4.
| Test | Throughput | Peak t/s |
|---|---|---|
| pp2048 | 1,974 t/s | — |
| tg128 | 33.35 t/s | 38.33 |
| pp2048 @ d4096 | 4,007 t/s | — |
| pp2048 @ d8192 | 4,793 t/s | — |
| pp2048 @ d16384 | 5,017 t/s | — |
Decode is rock-stable at 32–33 t/s across all context depths (0–16K). Only 2.8% degradation.
| Concurrency | Aggregate t/s | Per-request t/s | Power | Temp |
|---|---|---|---|---|
| C1 | 28.5 | 28.6 | 20.4 W | 45°C |
| C2 | 51.6 | 25.8 | 18.4 W | 46°C |
| C4 | 105.3 | 26.3 | 20.2 W | 47°C |
| C8 | 185.5 | 23.2 | 22.1 W | 48°C |
6.5× scaling at C8. 8.42 t/s/W efficiency. Peak 23.3W at 48°C.
Math (3/3), Reasoning (3/3), Coding (3/3), Knowledge (2/2), Instruction (2/2).
max_num_batched_tokens must be >= 2096 (Mamba block alignment)torch.nvfp4, NVIDIA-internal only)Apache 2.0.