Text Generation
GGUF
llama.cpp
qwen
qwen3.6
Mixture of Experts
quantized
imatrix
apple-silicon
ollama
batiai
on-device
agentic
coding
conversational
Instructions to use batiai/Qwen3.6-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 batiai/Qwen3.6-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 batiai/Qwen3.6-35B-A3B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf batiai/Qwen3.6-35B-A3B-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 batiai/Qwen3.6-35B-A3B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf batiai/Qwen3.6-35B-A3B-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 batiai/Qwen3.6-35B-A3B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf batiai/Qwen3.6-35B-A3B-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 batiai/Qwen3.6-35B-A3B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf batiai/Qwen3.6-35B-A3B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/batiai/Qwen3.6-35B-A3B-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use batiai/Qwen3.6-35B-A3B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "batiai/Qwen3.6-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": "batiai/Qwen3.6-35B-A3B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/batiai/Qwen3.6-35B-A3B-GGUF:Q4_K_M
- Ollama
How to use batiai/Qwen3.6-35B-A3B-GGUF with Ollama:
ollama run hf.co/batiai/Qwen3.6-35B-A3B-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use batiai/Qwen3.6-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 batiai/Qwen3.6-35B-A3B-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": "batiai/Qwen3.6-35B-A3B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use batiai/Qwen3.6-35B-A3B-GGUF with Docker Model Runner:
docker model run hf.co/batiai/Qwen3.6-35B-A3B-GGUF:Q4_K_M
- Lemonade
How to use batiai/Qwen3.6-35B-A3B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull batiai/Qwen3.6-35B-A3B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3.6-35B-A3B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use batiai/Qwen3.6-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 batiai/Qwen3.6-35B-A3B-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 batiai/Qwen3.6-35B-A3B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use batiai/Qwen3.6-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 batiai/Qwen3.6-35B-A3B-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 "batiai/Qwen3.6-35B-A3B-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"
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -136,15 +136,54 @@ Only 9 of 256 experts fire per token β same reasoning capacity, far less compu
|
|
| 136 |
|
| 137 |
## On-device Benchmarks (measured)
|
| 138 |
|
| 139 |
-
Measured
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
|
| 141 |
```bash
|
| 142 |
ollama run batiai/qwen3.6-35b:iq4 --verbose "Write a haiku about Seoul in autumn."
|
| 143 |
```
|
| 144 |
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 148 |
|
| 149 |
## Note on the "3.6" Naming
|
| 150 |
|
|
|
|
| 136 |
|
| 137 |
## On-device Benchmarks (measured)
|
| 138 |
|
| 139 |
+
Measured with BatiAI's bench harness on real Apple Silicon:
|
| 140 |
+
|
| 141 |
+
### MacBook Pro M4 Max (128 GB RAM) β 100 % GPU
|
| 142 |
+
|
| 143 |
+
| Metric | IQ3_XXS | IQ4_XS |
|
| 144 |
+
|------------------------|--------:|-------:|
|
| 145 |
+
| **Gen speed (warm)** | **45.9 t/s** | **46.5 t/s** |
|
| 146 |
+
| Gen range (3 runs) | 45.6 β 46.2 | 45.0 β 48.2 |
|
| 147 |
+
| Prompt eval | 104.9 t/s | 105.0 t/s |
|
| 148 |
+
| Long response (300 t) | 45.2 t/s | 45.6 t/s |
|
| 149 |
+
| Cold-start first gen | 49.7 t/s | 51.3 t/s |
|
| 150 |
+
| Load time | 3.0 s | 5.3 s |
|
| 151 |
+
| Ollama RAM (w/ KV) | 18 GB | 23 GB |
|
| 152 |
+
| Korean generation | β
| β
|
|
| 153 |
+
| **Tool call JSON** | β **fail** | β
pass |
|
| 154 |
+
|
| 155 |
+
### Mac mini M4 (16 GB RAM) β community-reported
|
| 156 |
+
|
| 157 |
+
| Model | Gen speed |
|
| 158 |
+
|-------|----------:|
|
| 159 |
+
| **IQ3_XXS** | ~2 β 3 t/s |
|
| 160 |
+
| IQ4_XS | β does not fit (needs 24 GB+) |
|
| 161 |
+
|
| 162 |
+
IQ3 fits in 16 GB but exercises swap β usable for single-turn prompts but not for streaming chat.
|
| 163 |
+
|
| 164 |
+
### Key take-aways
|
| 165 |
+
|
| 166 |
+
- **On M4 Max, IQ3 and IQ4 are nearly identical in speed (~1 % apart)** β the MoE + Gated DeltaNet architecture is memory-bandwidth-bound, not compute-bound, at this quant range. Pick IQ4 unless RAM is tight.
|
| 167 |
+
- **~1.75Γ faster than Qwen 3.5-35B-A3B IQ4** on the same M4 Max (46.5 vs 26.6 t/s measured previously).
|
| 168 |
+
- **IQ3 can fail function-call JSON** β quantization cost shows up on structured output first. If your workflow uses tool calling, **choose IQ4**.
|
| 169 |
+
- Both quants run 100 % on Apple Silicon GPU / Metal. No CPU fallback on machines that fit.
|
| 170 |
+
- Prompt evaluation is very fast (105 t/s) β long-context RAG / agent flows feel responsive.
|
| 171 |
+
|
| 172 |
+
### Try it yourself
|
| 173 |
|
| 174 |
```bash
|
| 175 |
ollama run batiai/qwen3.6-35b:iq4 --verbose "Write a haiku about Seoul in autumn."
|
| 176 |
```
|
| 177 |
|
| 178 |
+
Or run the full benchmark harness (cold start, 3Γ warm runs, long response, Korean, tool call, RAM delta):
|
| 179 |
+
|
| 180 |
+
```bash
|
| 181 |
+
# Single model
|
| 182 |
+
./bench.sh # interactive menu β pick by number
|
| 183 |
+
|
| 184 |
+
# Share the JSON β we'll update this card
|
| 185 |
+
reports/bench-*.json
|
| 186 |
+
```
|
| 187 |
|
| 188 |
## Note on the "3.6" Naming
|
| 189 |
|