Instructions to use r0b0tlab/Muse-Glimmer-30B-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use r0b0tlab/Muse-Glimmer-30B-NVFP4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="r0b0tlab/Muse-Glimmer-30B-NVFP4") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("r0b0tlab/Muse-Glimmer-30B-NVFP4") model = AutoModelForMultimodalLM.from_pretrained("r0b0tlab/Muse-Glimmer-30B-NVFP4", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use r0b0tlab/Muse-Glimmer-30B-NVFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "r0b0tlab/Muse-Glimmer-30B-NVFP4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "r0b0tlab/Muse-Glimmer-30B-NVFP4", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/r0b0tlab/Muse-Glimmer-30B-NVFP4
- SGLang
How to use r0b0tlab/Muse-Glimmer-30B-NVFP4 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "r0b0tlab/Muse-Glimmer-30B-NVFP4" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "r0b0tlab/Muse-Glimmer-30B-NVFP4", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "r0b0tlab/Muse-Glimmer-30B-NVFP4" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "r0b0tlab/Muse-Glimmer-30B-NVFP4", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use r0b0tlab/Muse-Glimmer-30B-NVFP4 with Docker Model Runner:
docker model run hf.co/r0b0tlab/Muse-Glimmer-30B-NVFP4
Muse Glimmer-30B NVFP4 (r0b0tlab)
NVFP4 (W4A4, block-16) quantization of meta-models/Muse-Glimmer-30B, built with NVIDIA ModelOpt 0.45.0 and qualified on a single NVIDIA DGX Spark (GB10 / SM121, 128 GB unified memory) with native FP4 tensor-core execution.
| BF16 | NVFP4 (this repo) | |
|---|---|---|
| Weights size | 59.6 GB | 25.4 GB (2.34x) |
| Single-stream decode (GB10) | ~4.2 tok/s | ~10.3 tok/s (2.5x) |
| Aggregate @ c16 (GB10) | — | 52.5 tok/s |
| Median TPOT (GB10) | ~245 ms | ~95 ms |
| Max context (live NIAH) | — | 131,072 (3/3 depths incl. 117,734) |
Quantization details
- Method: ModelOpt
NVFP4_DEFAULT_CFG(dynamic input quantizer, block-16),*gate_projexcluded (classic NVFP4 quality protection). - Calibration:
cnn_dailymail3.0.0 train, 512 samples x 2,048 tokens, batch 1 (the ModelOpt canonical convention). Raw fetch SHA and windowing are recorded inmodelopt_provenance.json. - Protected (stored BF16): vision tower, adapter, embeddings, lm_head, norms.
- 364 quantized weights, 1,072 protected tensors; structural audits recorded in
quantization.complete.json.
Serving
Requires unmerged vLLM Muse support: PR
vllm-project/vllm#51655
(pinned head 1f7f0715848c9acc56ea40faa21c13a02bdc8357). Build the image with
--build-arg torch_cuda_arch_list=12.0 — arch-accelerated 12.0a/12.1a
cubins do not run on SM121.
vllm serve /path/to/this/repo \
--served-model-name muse-glimmer-30b-nvfp4 \
--dtype bfloat16 --max-model-len 131072 \
--gpu-memory-utilization 0.70 --max-num-seqs 8 \
--enforce-eager \
--attention-backend FLASHINFER --mm-encoder-attn-backend FLASHINFER \
--kv-cache-dtype fp8 \
--quantization modelopt_fp4 --linear-backend flashinfer_cutlass \
--reasoning-parser muse_glimmer --tool-call-parser muse_glimmer \
--enable-auto-tool-choice --limit-mm-per-prompt '{"image":1}'
Full recipe and verification notes: r0b0tlab/muse-glimmer-30b-nvfp4-vllm.
Evaluation (r0b0bench core-subset, official scorers, reasoning_strength=low)
| Lane | Result |
|---|---|
| GSM8K-200 | 91.0% |
| ARC-Easy-400 | 95.75% |
| IFEval-200 | 82.0% |
| HumanEval-164 | 85.4% pass@1 |
| BFCL-MT-200 (tool calling) | 52.0% |
| NIAH @131K (3 depths) | 3/3 retrieved |
Caveats (read before citing)
- The base model is nondeterministic at temperature 0 (near-tie greedy tokens; verified empirically on repeated identical prompts). Matched-case output comparisons between dtypes are therefore noise-dominated — quality is reported on official scorers, not exact-string deltas.
- Muse emits channel-scoped reasoning before the answer channel: short
max_tokensbudgets (<= ~64) can leave the answer channel empty. - Speculative decoding (DFlash, 3B assistant): correctness-verified and ~2.7x on BF16, but losslessness is unprovable given the temp-0 nondeterminism above. NVFP4+DFlash requires upstream quant-routing fixes not yet merged.
License
Base model: meta-models/Muse-Glimmer-30B under Apache 2.0 (see LICENSE; see USAGE_POLICY.md). This quantization adds no new license terms.
- Downloads last month
- 16
Model tree for r0b0tlab/Muse-Glimmer-30B-NVFP4
Base model
meta-models/Muse-Glimmer-30B