CoolFace
Modelpublic

iapp/openthai2.0-qwen3.8-27b-NVFP4

sourceHugging Faceapache-2.0updated 26d agoView on Hugging Face
2likes3.6kdownloads
Model Card

OpenThai 2.0.1 — NVFP4 (compressed-tensors, vLLM · NVIDIA Blackwell)

NVFP4 weight + activation quantisation of iapp/openthai2.0-qwen3.8-27b (v2.0.1) via llm-compressor QuantizationModifier, text-calibrated (ultrachat, 512×2048). Vision tower, MTP draft head and lm_head are kept in bf16. See the base model card for benchmarks and prompts.

2026-08-31 fix: MTP draft head restored

Earlier uploads of this repo *had no `mtp. tensors** while config.json still advertised mtpnumhidden_layers: 1. With --speculative-config vLLM ran a draft head with no weights: every draft was rejected (mean acceptance length 1.00) and decoding was ~1.6× *slower* than without the flag. Found by Dr. Panutat Tejasen (ThaiEval-v3). Cause: the quantisation export loaded the model through a transformers class that has no MTP module, so the head was dropped on load and the re:.mtp.` ignore rule matched nothing.

This upload adds model-mtp.safetensors (bf16 head, 0.85 GB), maps it in the index, and adds re:.*mtp.* to quantization_config.ignore. Verified under vLLM 0.26 with {"method":"qwen3_5_mtp","num_speculative_tokens":2}: mean acceptance length 1.68 (bf16 production: 1.61). If your copy predates this, re-download or serve without --speculative-config.

bash
vllm serve iapp/openthai2.0-qwen3.8-27b-NVFP4 \
  --max-model-len 32768 --reasoning-parser qwen3 --trust-remote-code \
  --speculative-config '{"method":"qwen3_5_mtp","num_speculative_tokens":2}'