Instructions to use Anbeeld/Qwen3.6-35B-A3B-DSpark-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Anbeeld/Qwen3.6-35B-A3B-DSpark-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/Qwen3.6-35B-A3B-DSpark-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Anbeeld/Qwen3.6-35B-A3B-DSpark-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/Qwen3.6-35B-A3B-DSpark-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Anbeeld/Qwen3.6-35B-A3B-DSpark-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/Qwen3.6-35B-A3B-DSpark-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Anbeeld/Qwen3.6-35B-A3B-DSpark-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/Qwen3.6-35B-A3B-DSpark-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Anbeeld/Qwen3.6-35B-A3B-DSpark-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Anbeeld/Qwen3.6-35B-A3B-DSpark-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use Anbeeld/Qwen3.6-35B-A3B-DSpark-GGUF with Ollama:
ollama run hf.co/Anbeeld/Qwen3.6-35B-A3B-DSpark-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use Anbeeld/Qwen3.6-35B-A3B-DSpark-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/Qwen3.6-35B-A3B-DSpark-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/Qwen3.6-35B-A3B-DSpark-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Anbeeld/Qwen3.6-35B-A3B-DSpark-GGUF with Docker Model Runner:
docker model run hf.co/Anbeeld/Qwen3.6-35B-A3B-DSpark-GGUF:Q4_K_M
- Lemonade
How to use Anbeeld/Qwen3.6-35B-A3B-DSpark-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Anbeeld/Qwen3.6-35B-A3B-DSpark-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3.6-35B-A3B-DSpark-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Anbeeld/Qwen3.6-35B-A3B-DSpark-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/Qwen3.6-35B-A3B-DSpark-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/Qwen3.6-35B-A3B-DSpark-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Anbeeld/Qwen3.6-35B-A3B-DSpark-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/Qwen3.6-35B-A3B-DSpark-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/Qwen3.6-35B-A3B-DSpark-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"
Qwen3.6-35B-A3B DSpark GGUF
GGUF quantizations of RedHatAI DSpark draft model for Qwen3.6-35B-A3B.
Use with BeeLlama.cpp, a llama.cpp fork with advanced quantization features.
RedHatAI/Qwen3.6-35B-A3B-speculator.dspark
This is a DSpark speculator model for Qwen/Qwen3.6-35B-A3B.
Training Details
This model was trained using the Speculators library library on a subset of Magpie-Align/Magpie-Llama-3.1-Pro-300K-Filtered and the train_sft split of HuggingFaceH4/ultrachat_200k. Responses were regenerated by Qwen3.6-35B-A3B. DSpark extends DFlash with a Markov head (intra-block token dependency) and a confidence head (per-position acceptance prediction). Training compute for this model was generously provided by Lambda, a leading cloud platform for AI training and inference.
Commands
Using the Speculators library and the helper scripts provided in the repo.
Prepare data
# In virtual environment with speculators installed
python scripts/prepare_data.py \
--model Qwen/Qwen3.6-35B-A3B \
--data ./data/qwen3_6_35b_a3b_regen/magpie_output.jsonl \
--data ./data/qwen3_6_35b_a3b_regen/ultrachat_output.jsonl \
--output ./output/dspark_qwen3_6_35b_a3b \
--seq-length 16000
Launch vLLM
# In (separate) virtual environment with vllm installed
CUDA_VISIBLE_DEVICES=0,1,2,3 python scripts/launch_vllm.py \
Qwen/Qwen3.6-35B-A3B \
--target-layer-ids 2 10 20 30 37 \
-- --port 8000 \
--tensor-parallel-size 4 \
--max-model-len 16002 \
--enforce-eager
Launch training
Must be run once vLLM has finished launching and is running in the background.
# In virtual environment with speculators installed
CUDA_VISIBLE_DEVICES=4,5,6,7 torchrun \
--standalone \
--nproc_per_node 4 \
scripts/train.py \
--verifier-name-or-path Qwen/Qwen3.6-35B-A3B \
--speculator-type dspark \
--data-path ./output/dspark_qwen3_6_35b_a3b \
--vllm-endpoint http://localhost:8000/v1 \
--save-path ./output/dspark_qwen3_6_35b_a3b/checkpoints \
--block-size 8 \
--max-anchors 3072 \
--target-layer-ids 2 10 20 30 37 \
--num-layers 5 \
--markov-rank 256 \
--markov-head-type vanilla \
--enable-confidence-head \
--confidence-head-with-markov \
--loss-fn '{"ce": 0.1, "tv": 0.9}' \
--confidence-head-alpha 1.0 \
--epochs 5 \
--lr 3e-4 \
--total-seq-len 16000 \
--on-missing generate \
--on-generate delete \
--checkpoint-freq 0.1
Model Specifications
| Base Model | Qwen/Qwen3.6-35B-A3B |
| Chat Template | Qwen/Qwen3.6-35B-A3B (use /chat/completions endpoint) |
| Format | Safetensors |
| License | Apache 2.0 |
| Validation Hardware | Nvidia H100 |
Deployment
# Deploy with speculative decoding
vllm serve Qwen/Qwen3.6-35B-A3B \
--tensor-parallel-size 2 \
--speculative-config '{
"model": "RedHatAI/Qwen3.6-35B-A3B-speculator.dspark",
"num_speculative_tokens": 8,
"method": "dspark"
}'
Acceptance Rates
Per-position token acceptance rates across datasets:
| Dataset | Pos 0 | Pos 1 | Pos 2 | Pos 3 | Pos 4 | Pos 5 | Pos 6 | Pos 7 | Avg. Length |
|---|---|---|---|---|---|---|---|---|---|
| HumanEval | 82.0% | 66.2% | 54.1% | 44.1% | 36.4% | 29.9% | 24.7% | 20.4% | 4.58 |
| math_reasoning | 84.0% | 70.3% | 59.8% | 51.2% | 43.5% | 37.0% | 31.2% | 26.5% | 5.03 |
| qa | 71.8% | 50.9% | 37.4% | 28.0% | 20.9% | 16.0% | 12.1% | 9.2% | 3.46 |
| question | 73.5% | 53.1% | 39.5% | 30.4% | 24.2% | 19.5% | 15.6% | 12.7% | 3.68 |
| rag | 78.2% | 57.1% | 44.1% | 34.7% | 27.3% | 21.2% | 16.4% | 13.1% | 3.92 |
| summarization | 74.2% | 53.6% | 40.4% | 30.6% | 23.5% | 17.8% | 13.7% | 10.5% | 3.64 |
| tool_call | 71.7% | 50.8% | 36.1% | 26.3% | 19.5% | 14.7% | 11.2% | 8.6% | 3.39 |
| translation | 70.7% | 51.2% | 37.8% | 28.4% | 21.2% | 15.7% | 11.9% | 8.8% | 3.46 |
| writing | 74.4% | 54.3% | 40.8% | 31.6% | 25.2% | 20.3% | 16.5% | 13.4% | 3.76 |
- Downloads last month
- 413
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for Anbeeld/Qwen3.6-35B-A3B-DSpark-GGUF
Base model
Qwen/Qwen3.6-35B-A3B