NVFP4 (4-bit) quantization of ThaiLLM/ThaiLLM-30B — the Thai/English continued-pretrain of Qwen3-30B-A3B (MoE, 31B total / ~3.3B active) — produced with NVIDIA TensorRT Model Optimizer 0.43.0 and validated with a rigorous paired BF16-vs-NVFP4 evaluation on an NVIDIA DGX Spark (GB10).
1# vLLM (Blackwell GPU, e.g. DGX Spark with nvcr.io/nvidia/vllm:26.05.post1-py3)
2vllm serve AGIcafet/ThaiLLM-30B-NVFP4 \
3 --quantization modelopt \
4 --gpu-memory-utilization 0.70 \
5 --attention-backend flashinfer
6# vLLM auto-selects native FLASHINFER_CUTLASS NVFP4 MoE kernels on SM121/SM100.
7# For extra KV headroom in production add: --kv-cache-dtype fp8
1# TensorRT Model Optimizer 0.43.0, examples/llm_ptq/hf_ptq.py
2python hf_ptq.py --pyt_ckpt_path ThaiLLM/ThaiLLM-30B \
3 --qformat nvfp4 --kv_cache_qformat none \
4 --calib_size 512 --calib_seq 512 --batch_size 0 \
5 --dataset thai_en_calib.jsonl \
6 --export_path ThaiLLM-30B-NVFP4
Full reproducible pipeline (calibration builder, fairness-protocol eval scripts, custom letter-scored ThaiExam lm-eval tasks, paired statistics, complete technical report):
github.com/spped2000/thaillm-nvfp4-dgx-spark
Base model by the
ThaiLLM project (Apache-2.0). Quantization, evaluation, and release by
AGIcafet, 15 July 2026.