Views
No views yet
Qwen/Qwen3-4B quantized to NVFP4 (4-bit weights).Caveat. Only fast on Blackwell. Produce anywhere, but say so on the card.
| Source | Qwen/Qwen3-4B |
| Scheme | NVFP4 (4-bit) |
| Format | compressed-tensors |
| Parameters | 4.0B |
| Size on disk | 2.8 GB |
| Compression | 2.84x smaller than the 8.0 GB source |
| Calibration | HuggingFaceH4/ultrachat_200k, 256 samples |
| Left unquantized | lm_head |
| Quantized on | A40 |
| Quantized by | Sohailhosseini |
1vllm serve Sohailhosseini/Qwen3-4B-NVFP4 \
2 --max-model-len 327681from vllm import LLM, SamplingParams
2
3if __name__ == "__main__":
4 llm = LLM("Sohailhosseini/Qwen3-4B-NVFP4", max_model_len=32768)
5 out = llm.chat(
6 [{"role": "user", "content": "What is quantization? Answer in one sentence."}],
7 SamplingParams(temperature=0.6, max_tokens=512),
8 )
9 print(out[0].outputs[0].text)requires GPUs with sm75 or higher on an sm_120 device - a detection problem rather than a real capability shortfall, but one that prevents the server from starting. The vllm serve command above is therefore the documented usage, not a tested one. The sibling FP8 and AWQ-W4A16 quants of other models in this collection have been served and API-tested; this one has not.recipe.yaml in this repo is the exact modifier stack that was applied, and the scheme, ignored layers, calibration set and hardware are in the table above.