Instructions to use Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M
- SGLang
How to use Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF 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 "Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF" \ --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": "Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF" \ --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": "Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF with Ollama:
ollama run hf.co/Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF with Docker Model Runner:
docker model run hf.co/Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M
- Lemonade
How to use Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Muse-Glimmer-30B-DFlash2-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Muse Glimmer 30B DFlash2 GGUF
GGUF quantizations of Inco AI DFlash2 draft model for Muse Glimmer 30B.
Use with BeeLlama.cpp, a llama.cpp fork with advanced quantization features.
Muse-Glimmer-30B-DFlash2
This repository contains the DFlash 2 draft model for
meta-models/Muse-Glimmer-30B.
It is not a standalone language model: it runs inside a speculative
decoding server and drafts tokens for the target model to verify. It is
finetuned from
meta-models/Muse-Glimmer-30B-assistant,
the official DFlash drafter Meta ships with the model. The checkpoint is also
mirrored at z-lab/Muse-Glimmer-30B-DFlash2.
DFlash 2 is a block-diffusion drafter for speculative decoding. It predicts a whole block of tokens in a single pass and keeps the top candidates at every position. A lightweight selector then traces one coherent path through them. Two-tap dynamic convolutions in the backbone keep the draft from decaying toward the end of the block. Decoding is lossless: greedy output matches the target model exactly, and sampling preserves its distribution.
Quick Start
Serve with SGLang:
pip install "sglang[all] @ git+https://github.com/sgl-project/sglang.git#subdirectory=python"
python -m sglang.launch_server \
--model-path meta-models/Muse-Glimmer-30B \
--speculative-algorithm DFLASH \
--speculative-draft-model-path incoai/Muse-Glimmer-30B-DFlash2 \
--speculative-num-draft-tokens 16
Or with vLLM:
pip install -U "vllm @ git+https://github.com/vllm-project/vllm.git@refs/pull/52816/head"
vllm serve meta-models/Muse-Glimmer-30B \
--speculative-config '{
"method": "dflash",
"model": "incoai/Muse-Glimmer-30B-DFlash2",
"num_speculative_tokens": 15
}'
See the blog post for other engines and more details.
Evaluation
- Runtime: SGLang on one NVIDIA H200, with FlashAttention 3 for target and draft attention
- Speculation block size: 16 (15 draft tokens per verification step)
- Sampling: Muse's officially recommended parameters (temperature 1.0, top-p 0.95, top-k 64), with high reasoning strength
- Maximum new tokens: 4096
- Prompts: benchmark formatting from
z-lab/dflash
We compare autoregressive decoding, the official DFlash drafter
(meta-models/Muse-Glimmer-30B-assistant),
a community DSpark drafter
(DaoCloud/Muse-Glimmer-30B-DSpark),
and DFlash 2. All speculative methods propose fifteen draft tokens per
verification step.
Acceptance Length
Acceptance length is the per-request mean of completion tokens divided by verification steps. Higher is better.
| Task | Official DFlash | DSpark | DFlash 2 |
|---|---|---|---|
| GSM8K | 5.43 | 5.45 | 6.57 |
| MATH-500 | 5.39 | 5.01 | 6.56 |
| HumanEval | 4.11 | 4.33 | 5.66 |
| MBPP | 3.74 | 4.02 | 5.30 |
| MT-Bench | 3.52 | 3.59 | 4.42 |
Throughput
Throughput is total output tokens divided by end-to-end wall time.
Each cell shows output tok/s (speedup vs. autoregressive).
Concurrency 1
| Task | Autoregressive | Official DFlash | DSpark | DFlash 2 |
|---|---|---|---|---|
| GSM8K | 63.9 | 247.8 (3.88×) | 236.5 (3.70×) | 293.7 (4.59×) |
| MATH-500 | 64.0 | 246.3 (3.85×) | 218.4 (3.41×) | 295.5 (4.62×) |
| HumanEval | 65.1 | 210.5 (3.23×) | 201.4 (3.09×) | 266.2 (4.09×) |
| MBPP | 63.9 | 196.8 (3.08×) | 192.7 (3.02×) | 264.8 (4.14×) |
| MT-Bench | 64.0 | 164.6 (2.57×) | 159.7 (2.49×) | 197.4 (3.08×) |
Concurrency 8
| Task | Autoregressive | Official DFlash | DSpark | DFlash 2 |
|---|---|---|---|---|
| GSM8K | 476.6 | 1,574.4 (3.30×) | 1,456.1 (3.06×) | 1,816.6 (3.81×) |
| MATH-500 | 466.0 | 1,582.9 (3.40×) | 1,386.0 (2.97×) | 1,859.3 (3.99×) |
| HumanEval | 499.9 | 1,419.8 (2.84×) | 1,315.4 (2.63×) | 1,784.9 (3.57×) |
| MBPP | 491.6 | 1,278.9 (2.60×) | 1,266.6 (2.58×) | 1,719.7 (3.50×) |
| MT-Bench | 470.0 | 1,078.4 (2.29×) | 1,052.6 (2.24×) | 1,288.9 (2.74×) |
Concurrency 32
| Task | Autoregressive | Official DFlash | DSpark | DFlash 2 |
|---|---|---|---|---|
| GSM8K | 1,705.6 | 2,330.3 (1.37×) | 2,301.7 (1.35×) | 2,818.3 (1.65×) |
| MATH-500 | 1,710.2 | 2,427.3 (1.42×) | 2,185.0 (1.28×) | 2,869.6 (1.68×) |
| HumanEval | 1,798.1 | 2,170.0 (1.21×) | 2,068.9 (1.15×) | 2,780.2 (1.55×) |
| MBPP | 1,717.5 | 1,964.6 (1.14×) | 2,006.5 (1.17×) | 2,685.4 (1.56×) |
| MT-Bench | 1,721.8 | 1,668.0 (0.97×) | 1,627.2 (0.95×) | 1,975.5 (1.15×) |
Citation
If you find DFlash 2 useful, please cite:
@misc{inco2026dflash2,
title = {{DFlash 2: Keep Drafting Parallel}},
author = {{Inco AI}},
year = {2026},
month = {August},
url = {https://inco.ai/blog/dflash2/}
}
Please also cite the original DFlash paper:
@inproceedings{chen2026dflash,
title = {{DFlash: Block Diffusion for Flash Speculative Decoding}},
author = {Chen, Jian and Liang, Yesheng and Liu, Zhijian},
booktitle = {International Conference on Machine Learning (ICML)},
year = {2026}
}
- Downloads last month
- -
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for Anbeeld/Muse-Glimmer-30B-DFlash2-GGUF
Base model
meta-models/Muse-Glimmer-30B