NVFP4-quantized version of
Qwen/Qwen2.5-72B-Instruct, produced by
Enfuse.
1from vllm import LLM, SamplingParams
2from transformers import AutoTokenizer
3
4model_id = "enfuse/Qwen2.5-72B-Instruct-NVFP4"
5tokenizer = AutoTokenizer.from_pretrained(model_id)
6
7llm = LLM(model=model_id, tensor_parallel_size=2)
8sampling_params = SamplingParams(temperature=0.7, top_p=0.9, max_tokens=512)
9
10messages = [
11 {"role": "system", "content": "You are a helpful assistant."},
12 {"role": "user", "content": "Explain quantum computing in simple terms."},
13]
14
15prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True, tokenize=False)
16outputs = llm.generate([prompt], sampling_params)
17print(outputs[0].outputs[0].text)
This model was quantized using
LLM Compressor (v0.10.0) with the NVFP4 scheme:
1from llmcompressor.modifiers.quantization import QuantizationModifier
2
3recipe = QuantizationModifier(
4 targets="Linear",
5 scheme="NVFP4",
6 ignore=["lm_head"],
7)
¹ Qwen blog reference scores use different eval settings; direct comparison requires identical configurations.
Official scores from the
Qwen2.5 blog (different eval methodology):
Enfuse builds sovereign AI infrastructure for regulated enterprises. The Enfuse platform provides on-prem LLM orchestration and an App Factory for shipping governed, compliant AI applications on your own infrastructure.
This quantization is part of our ongoing work to make large language models more accessible and efficient for on-premise deployment, where memory efficiency directly impacts what models organizations can run within their own data centers.