Image-Text-to-Text
Transformers
Safetensors
muse_glimmer
compressed-tensors
llm-compressor
w4a16
gptq
quantization
vllm
muse-glimmer
conversational
Instructions to use aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor") 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("aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor") model = AutoModelForMultimodalLM.from_pretrained("aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor", 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 aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor", "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/aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor
- SGLang
How to use aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor 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 "aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor" \ --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": "aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor", "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 "aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor" \ --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": "aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor", "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 aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor with Docker Model Runner:
docker model run hf.co/aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor
Muse Glimmer 30B — W4A16 (llm-compressor / compressed-tensors)
Uniform 4-bit weight-only quantization of
meta-models/Muse-Glimmer-30B
built with llm-compressor
(GPTQ). Output format: compressed-tensors (pack-quantized, group 128) —
loaded natively by vLLM. Not GGUF.
| Scheme | W4A16 (INT4 weights, BF16 activations), group size 128, symmetric |
| Method | GPTQ Hessian rounding |
| Quantized | language-decoder Linear layers |
| Kept BF16 | lm_head (202k vocab), vision tower, multimodal projector |
| Calibration | HuggingFaceH4/ultrachat_200k, chat template, 512 samples @ 2048 tokens |
Serve with vLLM
Use a vLLM build containing the Muse Glimmer implementation (merged
PR #51655, 2026-08-14),
e.g. the vllm/vllm-openai:muse-glimmer or :nightly image. The
compressed-tensors config is auto-detected — no --quantization flag.
docker run --rm --gpus all --ipc=host -p 8000:8000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
vllm/vllm-openai:muse-glimmer \
aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor \
--served-model-name muse-glimmer \
--generation-config auto \
--enable-auto-tool-choice \
--tool-call-parser muse_glimmer \
--reasoning-parser muse_glimmer \
--max-model-len 32768
Notes:
- Use both parsers together (
muse_glimmer, underscores). Don't run greedy; the published sampling settings are temp 1.0 / top_p 0.95 / top_k 64. - Multiple tool calls arrive as consecutive assistant messages.
- Add
--enforce-eagerwhen serving wNa16 on Intel GPU/CPU.
Siblings
aisquared/Muse-Glimmer-30B-bpw4-AutoRound— AutoRound AutoScheme mixed-bit build (~4 bpw avg, sensitivity-driven)aisquared/Muse-Glimmer-30B-bpw2.5-AutoRound— AutoRound AutoScheme mixed-bit build (~2.5 bpw avg, aggressive)
- Downloads last month
- -
Model tree for aisquared/Muse-Glimmer-30B-W4A16-LLMCompressor
Base model
meta-models/Muse-Glimmer-30B