Muse-Glimmer-30B-NVFP4
Model Overview
- Model Architecture: MuseGlimmerForConditionalGeneration
- Input: Text / Image
- Output: Text
- Model Optimizations:
- Weight quantization: FP4
- Activation quantization: FP4
- Release Date: 2026-08-10
- Version: 1.0
- Model Developers: RedHatAI
This model is a quantized version of meta-models/Muse-Glimmer-30B.
Model Optimizations
This model was obtained by quantizing the weights and activations of meta-models/Muse-Glimmer-30B to FP4 (NVFP4) data type, ready for inference with vLLM.
This optimization reduces the number of bits per parameter from 16 to 4, reducing the disk size and GPU memory requirements by approximately 75%.
Only the weights and activations of the linear operators within transformer blocks are quantized using LLM Compressor.
Evaluation
This NVFP4 (W4A4) checkpoint was evaluated against its BF16 base meta-models/Muse-Glimmer-30B with an identical protocol: both served with vLLM following the official vLLM recipe (one B200 per replica: TP=1 for the knowledge benchmarks, TP=2 for SWE-bench Verified), the published sampling settings (temperature 1.0, top_p 0.95, top_k 64), reasoning_strength: xhigh (the template's highest effort), pass@1 scoring with inspect_evals task definitions (GPQA-Diamond is the mean of 3 passes).
| Benchmark | Base (BF16) | This checkpoint (NVFP4) |
|---|---|---|
| GPQA-Diamond (198 questions, 3 passes) | 0.781 ± 0.024 | 0.798 ± 0.026 |
| MMLU-Pro (12,032 questions) | 0.807 ± 0.004 | 0.783 ± 0.004 |
| SWE-bench Verified (500 instances) | 0.684 ± 0.021 | 0.670 ± 0.021 |
Scores are pass@1 accuracy — a single epoch for MMLU-Pro and SWE-bench Verified, the mean of 3 epochs (594 samples) for GPQA-Diamond; ± is the binomial standard error over the benchmark's samples (for GPQA-Diamond, over the 198 per-question pass-means). GPQA-Diamond per-pass accuracies: base 0.768/0.773/0.803, this checkpoint 0.803/0.793/0.798 (the 1.7-point gap is within one standard error of the paired difference). SWE-bench Verified was run with the inspect_evals agent scaffold (ReAct-style agent, 48 concurrent offline Docker sandboxes, 4 h time limit per instance) and audited for solution leaks (no network egress from the sandboxes, no post-base commits in the official eval images); the base model card reports 76.0 under the vendor's own scaffold, which is not directly comparable.
Deployment
vLLM Serving
docker run --gpus all \
--privileged --ipc=host -p 8000:8000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
vllm/vllm-openai:muse-glimmer RedHatAI/Muse-Glimmer-30B-NVFP4 \
--generation-config auto \
--tensor-parallel-size 1 \
--enable-auto-tool-choice \
--tool-call-parser muse_glimmer \
--reasoning-parser muse_glimmer
For detailed instructions including multi-GPU deployment, multimodal inference, etc see the Muse-Glimmer 30B vLLM usage guide.
Creation
This model was created by applying LLM Compressor with calibration samples from open-perfectblend, using the NVFP4 scheme, exported in compressed-tensors format.
from compressed_tensors.offload import dispatch_model
from datasets import load_dataset
from transformers import (
AutoProcessor,
MuseGlimmerForConditionalGeneration,
)
from llmcompressor import oneshot
from llmcompressor.modifiers.gptq import GPTQModifier
from llmcompressor.utils import load_context
MODEL_ID = "meta-models/Muse-Glimmer-30B"
# Load model.
with load_context(MuseGlimmerForConditionalGeneration):
model = MuseGlimmerForConditionalGeneration.from_pretrained(MODEL_ID)
processor = AutoProcessor.from_pretrained(MODEL_ID)
DATASET_ID = "mlabonne/open-perfectblend"
DATASET_SPLIT = "train"
NUM_CALIBRATION_SAMPLES = 1024
MAX_SEQUENCE_LENGTH = 2048
# Load dataset and preprocess.
ds = load_dataset(DATASET_ID, split=f"{DATASET_SPLIT}")
ds = ds.shuffle(seed=42)
ROLE_MAP = {"human": "user", "gpt": "assistant"}
def preprocess(example):
messages = [
{"role": ROLE_MAP.get(msg["from"], msg["from"]), "content": msg["value"]}
for msg in example["conversations"]
]
return {
"text": processor.apply_chat_template(
messages,
tokenize=False,
)
}
ds = ds.map(preprocess)
# Tokenize inputs.
def tokenize(sample):
return processor.tokenizer(
sample["text"],
padding=False,
max_length=MAX_SEQUENCE_LENGTH,
truncation=True,
add_special_tokens=False,
)
ds = ds.map(tokenize, remove_columns=ds.column_names)
# Configure the quantization algorithm and scheme.
recipe = GPTQModifier(
targets="Linear",
scheme="NVFP4",
ignore=["re:.*vision.*", "lm_head", "re:.*embed_tokens.*"],
)
# Apply quantization.
oneshot(
model=model,
dataset=ds,
recipe=recipe,
max_seq_length=MAX_SEQUENCE_LENGTH,
num_calibration_samples=NUM_CALIBRATION_SAMPLES,
)
print("\n\n")
print("========== SAMPLE GENERATION ==============")
dispatch_model(model)
input_ids = processor.tokenizer(
"Hello my name is", return_tensors="pt"
).input_ids.to(model.device)
output = model.generate(input_ids, max_new_tokens=100)
print(processor.tokenizer.decode(output[0]))
print("==========================================\n\n")
# Save to disk in compressed-tensors format.
SAVE_DIR = MODEL_ID.rstrip("/").split("/")[-1] + "-NVFP4"
model.save_pretrained(SAVE_DIR)
processor.save_pretrained(SAVE_DIR)