GLM-4.7-Flash Β· NVFP4A16 (W4A16, FP4 weights)

4-bit quantization of zai-org/GLM-4.7-Flash for vLLM serving. Quantized by axteam.

Base model zai-org/GLM-4.7-Flash
Method NVFP4A16 (W4A16, FP4 weights)
Format compressed-tensors nvfp4-pack-quantized
Weights / activations W4A16 β€” FP4 (E2M1) weights group 16 + FP8 scale, BF16 activations
Architecture MoE (GLM-4.7 Lite Β· Glm4MoeLite) Β· 31.2B Β· 202K context Β· text-only
Size on disk ~17.6 GB
Calibration None (data-free, name-based model_free_ptq)
License mit

Quantization details

  • Scheme β€” W4A16 β€” FP4 (E2M1) weights group 16 + FP8 scale, BF16 activations, stored as compressed-tensors nvfp4-pack-quantized.
  • Kept in BF16 β€” token embeddings, the LM head, and all RMSNorms. Only attention & MLP projections are quantized. In addition, the MoE router (mlp.gate) and shared-expert gates are kept in BF16.
  • Post-training quantization (no retraining). Tokenizer / chat_template identical to the original.
  • FP4 global scales are shared across the pairs vLLM fuses β€” q_a_proj + kv_a_proj_with_mqa (MLA) and gate_proj + up_proj of every routed and shared expert.

Revision 2026-10-31: the first upload of this repo (same day) quantized those pairs with separate global scales. vLLM runs each pair as one GEMM with one scale, so that build produced corrupted text. The weights were re-quantized and replaced; if you downloaded this repo before the fix, please download it again.

Usage (vLLM)

vllm serve axteam/GLM-4.7-Flash-NVFP4A16

License

Quantized derivative of zai-org/GLM-4.7-Flash (mit).


ν•œκ΅­μ–΄ μš”μ•½

zai-org/GLM-4.7-Flash λ₯Ό NVFP4A16 (W4A16, FP4 weights) 둜 μ–‘μžν™”ν•œ μ„œλΉ™μš©(4-bit) λͺ¨λΈμž…λ‹ˆλ‹€. μž‘μ„±: axteam.

  • 방식 β€” FP4 κ°€μ€‘μΉ˜ 16묢음 + ν™œμ„±ν™” BF16. 4λΉ„νŠΈ 쀑 ν’ˆμ§ˆ μ΅œμƒκΈ‰. ν˜•μ‹ compressed-tensors nvfp4-pack-quantized.

  • BF16 μœ μ§€ β€” μž„λ² λ”©Β·LM ν—€λ“œΒ·λͺ¨λ“  norm. attentionΒ·MLP projection 만 μ–‘μžν™”. μΆ”κ°€λ‘œ MoE λΌμš°ν„°(mlp.gate)와 shared-expert κ²Œμ΄νŠΈλ„ BF16 μœ μ§€.

  • PTQ(μž¬ν•™μŠ΅ μ—†μŒ), ν† ν¬λ‚˜μ΄μ €Β·chat_template 원본 동일.

  • μˆ˜μ • 2026-10-31 β€” 같은 λ‚  처음 올린 λΉŒλ“œλŠ” vLLM 이 ν•œ GEMM 으둜 λ¬ΆλŠ” 쌍(MLA q_a_proj+kv_a_proj_with_mqa, μ „λ¬Έκ°€ gate_proj+up_proj)의 FP4 global scale 이 μ„œλ‘œ 달라 vLLM μ—μ„œ κΉ¨μ§„ 좜λ ₯을 λƒˆμŠ΅λ‹ˆλ‹€. μŒλ§ˆλ‹€ scale 을 κ³΅μœ ν•˜λ„λ‘ λ‹€μ‹œ μ–‘μžν™”ν•΄ κ΅μ²΄ν–ˆμœΌλ‹ˆ, μˆ˜μ • 전에 λ°›μœΌμ…¨λ‹€λ©΄ λ‹€μ‹œ λ°›μ•„ μ£Όμ„Έμš”.

  • μ‚¬μš© β€” vllm serve axteam/GLM-4.7-Flash-NVFP4A16. λΌμ΄μ„ μŠ€ mit.

Downloads last month
-
Safetensors
Model size
31B params
Tensor type
F32
Β·
BF16
Β·
U8
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for axteam/GLM-4.7-Flash-NVFP4A16

Quantized
(111)
this model