OLMoE-1B-7B-0125-Instruct NVFP4A16, experts only (GPTQ, attention kept at 16 bits)

NVFP4 quantization of allenai/OLMoE-1B-7B-0125-Instruct, made by PureTensor from the official BF16 weights. Only the expert layers are 4-bit. Attention, routers, embeddings and all activations stay 16-bit. The file is 4.58 GB against 13.84 GB for BF16.

This is a test release. It is not affiliated with or endorsed by the model's authors.

Read this first: on GSM8K this checkpoint is within noise of BF16, both offline (67.78 against 67.85) and served through vLLM (68.23 against 68.39). On MMLU it is 0.54 points lower, a small but statistically significant difference (p = 0.025). It serves 1.4 to 2.3 times faster than BF16 on vLLM. Use vLLM to run it: loading it the plain way in Transformers gives wrong outputs without any error (see Usage).

What was done

Source allenai/OLMoE-1B-7B-0125-Instruct, BF16. A mixture-of-experts model: 16 blocks, 64 experts per block, 8 active per token
Format compressed-tensors nvfp4-pack-quantized, scheme NVFP4A16: 4-bit E2M1 values, one FP8 E4M3 scale per group of 16, one FP32 scale per tensor
Quantized all 3,072 expert layers (96% of the block weights)
Kept in BF16 the attention projections (4% of the block weights; keeping them at 16 bits adds 0.39 GB), the expert routers, token embeddings and output head, all norms, all activations
Method GPTQ (block_size 128, dampening_frac 0.01, actorder static)
Expert calibration every calibration token is passed through every expert; tokens the router did not send to an expert count with weight 0.1 in that expert's statistics
Calibration data 512 chat-formatted samples from mlabonne/open-perfectblend, up to 2,048 tokens each. Every expert received routed tokens (the least-used one about 7,000)
Tools llm-compressor 0.15.0, compressed-tensors 0.20.1, transformers 5.21.0, torch 2.14.1

Measured quality

One harness, BF16 as reference. The saved checkpoint reloaded from disk to logits identical to the in-memory quantized model.

BF16 This checkpoint Change Paired test
MMLU, accuracy (14,042 questions) 53.48 52.94 -0.54 597 lost, 521 gained, p = 0.025
GSM8K, offline (1,319 problems, flexible-extract) 67.85 67.78 -0.07 92 lost, 91 gained, p = 1.0
GSM8K through vLLM's completions API 68.39 68.23 -0.16 89 lost, 87 gained, p = 0.94
WikiText-2 perplexity (65,536 tokens) 11.33 11.60 +0.27
Text Tokens Mean KL divergence 99th percentile KL Same top token as BF16
WikiText-2 test 65,536 0.074 0.62 87.9%
Chat (HuggingFaceH4/ultrachat_200k, test_sft, 128 conversations) 111,884 0.035 0.36 92.7%
  • Benchmarks: default mmlu and gsm8k configurations of lm-evaluation-harness 0.4.13, no chat template. The paired test is an exact McNemar test on per-question correctness.
  • KL divergence: full next-token distribution, teacher-forced, windows of 1,024 tokens. The chat set comes from the same dataset family as part of the calibration data (different rows), so that row is flattering.
  • Routing: for each token we compared the 8 experts this model's router picks with BF16's choice. On average 96.8% are the same.
  • One calibration draw, no repeated seeds.

On a real serving engine

Served with vLLM 0.34.0 on one NVIDIA Blackwell workstation GPU (compute capability 12.0). The experts run on vLLM's weight-only FP4 path; attention runs in BF16.

BF16 This checkpoint
GSM8K through the completions API 68.39 68.23
Throughput, single stream 1.00x 1.40x
Throughput, 8 concurrent 1.00x 2.11x
Throughput, 32 concurrent 1.00x 2.25x

Throughput is fixed 256-token greedy generations and will differ on other hardware.

Why attention is left alone

In this model attention handles every token, while each expert handles about one token in eight. We measured what each part costs by rounding it to 4 bits on its own, with no calibration:

Rounded to 4 bits Share of block weights KL, WikiText KL, chat Same expert choices as BF16
Attention only 4% 0.0616 0.0427 96.0%
Experts only 96% 0.0760 0.0463 96.7%
Both 100% 0.1204 0.0784 95.0%

Four percent of the weights cause almost half of the damage. Rounding attention alone also changes 4% of the routers' expert choices, although the routers themselves are untouched. Leaving attention at 16 bits is therefore cheap and removes a large part of the error.

We also built the fully quantized version of this recipe (attention at 4 bits too, not published). Side by side:

Fully quantized This checkpoint
File size 4.19 GB 4.58 GB
KL, WikiText / chat 0.106 / 0.053 0.074 / 0.035
MMLU 52.78 52.94
GSM8K, offline / served 67.63 / 67.17 67.78 / 68.23
Throughput against BF16, 1 / 8 / 32 streams 1.53x / 2.29x / 2.36x 1.40x / 2.11x / 2.25x

The KL divergence is a third lower. On benchmark scores the two builds are not reliably different (paired tests between them: MMLU p = 0.47, offline GSM8K p = 0.94, served GSM8K p = 0.35). We publish this one because it stays closer to the original model for 0.39 GB.

We saw the same pattern on a larger model, Qwen3-30B-A3B-Instruct-2507-NVFP4A16-ExpertsOnly.

We found this by measurement on 21 November 2026 and only then searched for earlier work. It is established practice, not our idea. NVIDIA's Model Optimizer ships experts-only and MLP-only NVFP4 configurations and recommends them for accuracy. QuantMoE-Bench (2024) studied which parts of a mixture-of-experts model need more bits and argued that parts used by every token deserve higher precision than sparsely used experts. The way experts were calibrated here follows earlier work as well: routed-only statistics are the usual choice in the literature (QMoE, MoEQuant), all-token calibration is llm-compressor's default, and a reduced weight for unrouted tokens was proposed in ExLlamaV3 pull request 529. What this card adds is the isolated per-component measurement at 4 bits on this model.

Usage

vLLM (recommended):

vllm serve PureTensorAI/OLMoE-1B-7B-0125-Instruct-NVFP4A16-ExpertsOnly

Transformers. Do not use plain from_pretrained for this checkpoint. With transformers 5.21 a plain load reports the per-tensor scale of every expert layer as unexpected (3,072 keys), drops them, and raises no error. The model then produces garbage: we measured a perplexity above 400,000 on a simple English sentence. Load it through llm-compressor (pip install llmcompressor):

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from llmcompressor.modeling.moe.linearize import load_quantizable_moe

repo = "PureTensorAI/OLMoE-1B-7B-0125-Instruct-NVFP4A16-ExpertsOnly"
tok = AutoTokenizer.from_pretrained(repo)
with load_quantizable_moe():
    model = AutoModelForCausalLM.from_pretrained(repo, dtype=torch.bfloat16)
model.to("cuda")

msgs = [{"role": "user", "content": "Summarise the water cycle in two sentences."}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt", return_dict=True).to("cuda")
out = model.generate(**ids, max_new_tokens=256)
print(tok.decode(out[0, ids["input_ids"].shape[1]:], skip_special_tokens=True))

This path expands the weights back to 16-bit and runs each expert as a separate layer, so it needs as much memory as BF16 and is slow. It is for checking, not for serving.

Limitations

  • MMLU is 0.54 points below BF16, as measured above.
  • One calibration draw. English-language benchmarks only. No safety, multilingual, tool-use or long-context evaluation was run on the quantized model.
  • Throughput ratios are from one GPU and one workload and will differ elsewhere.

License

Apache-2.0, as the base model. Changes from the base release: the expert Linear weights are quantized to NVFP4 and stored packed, and config.json gains a quantization_config block.

Downloads last month
55
Safetensors
Model size
7B params
Tensor type
BF16
·
U8
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for PureTensorAI/OLMoE-1B-7B-0125-Instruct-NVFP4A16-ExpertsOnly

Collection including PureTensorAI/OLMoE-1B-7B-0125-Instruct-NVFP4A16-ExpertsOnly

Papers for PureTensorAI/OLMoE-1B-7B-0125-Instruct-NVFP4A16-ExpertsOnly