NVFP4 quantization of Ornith-1.0-35B (single-Blackwell-GPU, vLLM-validated)

#20
by ressl - opened

Hi DeepReinforce team and community πŸ‘‹

I made an NVFP4 quantization of Ornith-1.0-35B and open-sourced it here:
https://huggingface.co/ressl/Ornith-1.0-35B-NVFP4

It runs on a single Blackwell GPU instead of a multi-GPU node, and I validated it actually loads and generates in vLLM.

What it is:
β€’ NVFP4 (NVIDIA 4-bit floating point, block size 16) post-training quantization, produced with the NVIDIA Model Optimizer (nvidia-modelopt 0.44.0)
β€’ Experts-only: the MoE expert weights are quantized to NVFP4, while attention QKV, shared experts and the vision encoder stay in higher precision (ModelOpt NVFP4_EXPERTS_ONLY_CFG) for accuracy
β€’ ~3x smaller: 69 GB BF16 β†’ 23 GB
β€’ Calibrated on 512 samples (cnn_dailymail), exported as a ModelOpt unified HF checkpoint

Why it runs on one GPU:
I exported it in the Qwen3_5MoeForConditionalGeneration / qwen3_5_moe form, the same form NVIDIA ships for nvidia/Qwen3.6-35B-A3B-NVFP4, so vLLM serves it directly (the text-only ForCausalLM form does not load in current vLLM/SGLang for this arch).

Validation:
vLLM (recent nightly) with --quantization modelopt --moe-backend marlin --attention-backend flashinfer loads it and generates coherent code at ~189 tok/s on a single RTX PRO 6000 Blackwell.

Hardware: NVFP4 needs a Blackwell GPU (sm_120). It will not run on Ada/Hopper or older.

What I also fixed on the repo:
I added preprocessor_config.json / processor_config.json / video_preprocessor_config.json (from the original Ornith-1.0-35B) so vLLM can build the image preprocessor without a local patch.

One honest caveat:
This checkpoint has no MTP head (config says mtp_num_hidden_layers=1, but there are 0 mtp.* tensors in the safetensors), so it cannot do MTP speculative decoding. NVIDIA's Qwen3.6-35B-A3B-NVFP4 ships with MTP; this one does not. Re-exporting with an MTP head would be needed for that.

Huge thanks to the DeepReinforce team for the MIT-licensed model and the great agentic-coding work. πŸ™Œ Feedback, corrections, and benchmark comparisons very welcome.

cc @DeepReinforce
#nvfp4 #blackwell #vllm #modelopt

Adding single RTX 5090 (32GB) numbers to the thread since ressl's RTX PRO 6000 reference was the only single-GPU datapoint. Stock vLLM v0.25.1 (vllm-openai:v0.25.1-cu129), no forks. Two quants tested:

Quant Single-stream Aggregate c=4 (2048/256) TTFT p50 Max ctx
cyankiwi/Ornith-1.0-35B-AWQ-INT4 196.6 tok/s 498 tok/s 220ms 64K tested
rdtand/Ornith-1.0-35B-PrismaAURA-4.75bit-vllm-MTP 283 tok/s (bf16 KV) / 267 (fp8 KV) 661 tok/s 92ms 262,144 (native max)

For everyone in #2/#26 asking about MTP + vLLM serving: the rdtand pack works on stock v0.25.1 and the re-grafted head accepts well.. I measured 51% on random-token benches, 64%+ on natural coding prompts, and 91%+ on math-heavy reasoning. MTP alone was +44% single-stream over the AWQ.

Config notes for the matrix:

  1. rdtand's README says --moe-backend marlin but v0.25.1's unquantized-MoE oracle rejects that (the mixed pack leaves some expert layers BF16): moe_backend='marlin' is not supported for unquantized MoE. Use --moe-backend flashinfer_cutlass.. valid for both oracles, and on sm_120 it avoids the flashinfer_trtllm sm_100-only crash.
  2. Full native 262K context fits on 32GB with --kv-cache-dtype fp8 (KV pool 419,810 tokens, 1.60x concurrency at max len). Quality cost of fp8 KV measured at ~1 gsm8k question on a 101-question shard, i.e. noise. Decode stays 195-212 tok/s even 250K tokens deep with warm prefix cache.
  3. --max-num-batched-tokens >= 2096 is required (GDN page size), as rdtand's card says. I ran 8192.
  4. Full flags on the localmaxxing runs: AWQ, PrismaAURA @32K , plus kvcache curves + gsm8k/hellaswag shards under both models there.

gsm8k on identical shards puts this quant at parity with my Qwen3.6-35B-A3B-GPTQ daily driver (96-97%), so the speed isn't costing reasoning. Solid model, thanks for the quant work ressl + rdtand.

Sign up or log in to comment