Clover-Preview-VL-NVFP4
Clover-Preview-VL with the routed experts of all 40 MoE layers quantized to NVFP4 (per-16-block E4M3 scales + per-tensor FP32 scales, 4-bit E2M1 weights). Everything else — attention, linear attention, router, embeddings, vision tower — stays bf16, so the model behaves the same with about 23 GB of weights instead of 66 GB.
Serving needs SGLang's CLOVER support with the vision extension: Akicou/sglang@clover-vl. The hf_quant_config.json declares a ModelOpt MIXED_PRECISION layout, so SGLang picks
it up automatically. On Blackwell (B200, SM100) the experts run on FlashInfer TRT-LLM FP4 kernels:
docker run --gpus all --shm-size 32g lmsysorg/sglang:v0.5.23 bash -c '
git -C /sgl-workspace/sglang fetch --depth 1 https://github.com/Akicou/sglang.git clover-vl &&
git -C /sgl-workspace/sglang checkout --detach FETCH_HEAD &&
python3 -m sglang.launch_server --model-path kaivoss/Clover-Preview-VL-NVFP4 \
--speculative-algorithm CLOVER --reasoning-parser qwen3 \
--max-running-requests 4 --context-length 16384 --host 0.0.0.0 --port 30000'
On non-Blackwell cards add --moe-runner-backend marlin — SGLang's Marlin FP4 fallback runs the same checkpoint
on anything Ampere or newer (SM80+). Verified on H200 (SM90) and L40S (SM89); the kernel allowlist in
Akicou/sglang@clover-vl covers SM80/86/89/90/100/120.
Measured with 30 questions per task, greedy, same items as the base repo's table:
| bf16 (base repo) | NVFP4 on H200 (SM90) | NVFP4 on L40S (SM89) | |
|---|---|---|---|
| TextVQA | 81.1 | 81.1 | 81.1 |
| ChartQA | 100.0 | 90.0 | 90.0 |
| POPE | 93.3 | 90.0 | 90.0 |
| MMBench (en dev) | 80.0 | 76.7 | 83.3 |
| AI2D | 86.7 | 83.3 | 83.3 |
| Mean | 88.2 | 84.2 | 85.5 |
The two GPUs agree within noise: 3–4 points of fp4 error spread across tasks. 150 questions in 12 s on the H200
(500 tok/s decode at concurrency 4) and 24 s on the L40S (~40–57 tok/s single-stream) — both fine for chat.
Expert round-trip error vs the bf16 source is ~9.5% RMSE, standard for NVFP4.
Quantized with the offline packer in the base repo (quantize_nvfp4.py).
- Downloads last month
- 75
Model tree for kaivoss/Clover-Preview-VL-NVFP4
Base model
Qwen/Qwen3.6-35B-A3B