Instructions to use tomngdev/Qwen4-35B-A3B-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 tomngdev/Qwen4-35B-A3B-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 tomngdev/Qwen4-35B-A3B-GGUF:Q4_K_XL # Run inference directly in the terminal: llama cli -hf tomngdev/Qwen4-35B-A3B-GGUF:Q4_K_XL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tomngdev/Qwen4-35B-A3B-GGUF:Q4_K_XL # Run inference directly in the terminal: llama cli -hf tomngdev/Qwen4-35B-A3B-GGUF:Q4_K_XL
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf tomngdev/Qwen4-35B-A3B-GGUF:Q4_K_XL # Run inference directly in the terminal: ./build/bin/llama cli -hf tomngdev/Qwen4-35B-A3B-GGUF:Q4_K_XL
Use Docker
docker model run hf.co/tomngdev/Qwen4-35B-A3B-GGUF:Q4_K_XL
- Llama new
- LM Studio
- Jan
- vLLM
How to use tomngdev/Qwen4-35B-A3B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tomngdev/Qwen4-35B-A3B-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": "tomngdev/Qwen4-35B-A3B-GGUF", "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/tomngdev/Qwen4-35B-A3B-GGUF:Q4_K_XL
- Ollama
How to use tomngdev/Qwen4-35B-A3B-GGUF with Ollama:
ollama run hf.co/tomngdev/Qwen4-35B-A3B-GGUF:Q4_K_XL
- Unsloth Desktop
- Pi
How to use tomngdev/Qwen4-35B-A3B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tomngdev/Qwen4-35B-A3B-GGUF:Q4_K_XL
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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tomngdev/Qwen4-35B-A3B-GGUF:Q4_K_XL" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use tomngdev/Qwen4-35B-A3B-GGUF with Docker Model Runner:
docker model run hf.co/tomngdev/Qwen4-35B-A3B-GGUF:Q4_K_XL
- Lemonade
How to use tomngdev/Qwen4-35B-A3B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tomngdev/Qwen4-35B-A3B-GGUF:Q4_K_XL
Run and chat with the model
lemonade run user.Qwen4-35B-A3B-GGUF-Q4_K_XL
List all available models
lemonade list
- Hermes Agent
How to use tomngdev/Qwen4-35B-A3B-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 tomngdev/Qwen4-35B-A3B-GGUF:Q4_K_XL
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:9931/v1 hermes config set model.default tomngdev/Qwen4-35B-A3B-GGUF:Q4_K_XL
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use tomngdev/Qwen4-35B-A3B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tomngdev/Qwen4-35B-A3B-GGUF:Q4_K_XL
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:9931/v1 \ --custom-model-id "tomngdev/Qwen4-35B-A3B-GGUF:Q4_K_XL" \ --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"
Qwen4-35B-A3B-GGUF
Updated 2026-11-05
New recipe.txt is used. Slightly larger files.
Using a custom chat_template.jinja
Quantized version of Qwen/Qwen4-35B-A3B using imatrix file from unsloth/Qwen4-35B-A3B-GGUF.
Weights are quantized using llama-quantize --target-bpw flag.
PLE weight must be loaded separately with --shard.
MTP is included, quantized to Q8_0.
Some weights are kept the same across all quants, see recipe.txt.
| Quant | Target BPW |
|---|---|
| Q4_K_XL | 5.6097 |
| Q6_K_XL | 7.6985 |
Chat template
All quants use a custom chat template, also available at chat_template.jinja. Inspired from froggeric/Qwen-Fixed-Chat-Templates
Added default fallback for invalid
enable_thinkingtotrueAdded default fallback for invalid
preserve_thinkingtotrueAdded
developerrole support, and falls back touserif not supportedAdded Anthropic
message.thinkingsupportMerging multiple initial system messages
Added
reasoning_effortmapping:From To offoffnoneoffminimallowlowlowmediumhighhighhighxhighxhighmaxxhighultracodexhighextremexhigh
llama.cpp
llama-server -hf tomngdev/Qwen4-35B-A3B-GGUF:Q6_K_XL \
--shard ./engram-Q8_0.gguf_file # or engram-IQ4_NL.gguf_file
--spec-type draft-mtp
--spec-draft-n-max 3
--spec-draft-p-min 0.75
Replicate
Q6_K_XL
llama-quantize \
--tensor-type-file ./recipe.txt \
--imatrix ./imatrix_unsloth.gguf_file \
--target-exclude f32,bf16,f16 \
--target-bpw 7.6985 \
--state-file ./state.json \
./Qwen4-35B-A3B-BF16.gguf \
./Qwen4-35B-A3B-Q6_K_XL.gguf
Q4_K_XL
llama-quantize \
--tensor-type-file ./recipe.txt \
--imatrix ./imatrix_unsloth.gguf_file \
--target-exclude f32,bf16,f16,q5_0,q5_1 \
--target-bpw 5.6097 \
--state-file ./state.json \
./Qwen4-35B-A3B-BF16.gguf \
./Qwen4-35B-A3B-Q4_K_XL.gguf
- Downloads last month
- 4,244
4-bit
6-bit
16-bit
Model tree for tomngdev/Qwen4-35B-A3B-GGUF
Base model
Qwen/Qwen4-35B-A3B