Instructions to use EcoAI-Lab/ShiftAddQwen-3.5-9B-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 EcoAI-Lab/ShiftAddQwen-3.5-9B-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 EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF # Run inference directly in the terminal: llama cli -hf EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF # Run inference directly in the terminal: llama cli -hf EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF
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 EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF # Run inference directly in the terminal: ./build/bin/llama cli -hf EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF
Use Docker
docker model run hf.co/EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF
- Llama new
- LM Studio
- Jan
- Ollama
How to use EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF with Ollama:
ollama run hf.co/EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF
- Unsloth Desktop
- Pi
How to use EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF
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": "EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF with Docker Model Runner:
docker model run hf.co/EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF
- Lemonade
How to use EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF
Run and chat with the model
lemonade run user.ShiftAddQwen-3.5-9B-GGUF-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use EcoAI-Lab/ShiftAddQwen-3.5-9B-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 EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF
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 EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF
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 "EcoAI-Lab/ShiftAddQwen-3.5-9B-GGUF" \ --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"
Model card: hardware compatibility (requirements, GPU memory by context length)
Browse files
README.md
CHANGED
|
@@ -63,6 +63,33 @@ Against Q4_K_M, the 4.4-bit model is 1 win / 3 ties / 1 loss, Q3_K_M 1 / 2 / 2,
|
|
| 63 |
including Q3_K_M. Per-category tables, pass^2, protocol and raw numbers:
|
| 64 |
[docs/results.md](https://github.com/ranery/ShiftAddQwen/blob/main/docs/results.md#agentic-benchmarks-tool-calling).
|
| 65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
## Run
|
| 67 |
|
| 68 |
```bash
|
|
|
|
| 63 |
including Q3_K_M. Per-category tables, pass^2, protocol and raw numbers:
|
| 64 |
[docs/results.md](https://github.com/ranery/ShiftAddQwen/blob/main/docs/results.md#agentic-benchmarks-tool-calling).
|
| 65 |
|
| 66 |
+
## Hardware compatibility
|
| 67 |
+
|
| 68 |
+
**Requirements.** An NVIDIA GPU and the patched llama.cpp from the [repository](https://github.com/ranery/ShiftAddQwen)
|
| 69 |
+
(`scripts/setup_llama.sh`, CUDA toolkit 12.x). The decode kernels use `dp4a`, so any GPU of compute capability 6.1 or
|
| 70 |
+
newer can run them; tested on V100 (`CUDA_ARCH=70`) and A100 (`CUDA_ARCH=80`), set `CUDA_ARCH` to your GPU when building.
|
| 71 |
+
A CPU reference implementation is included (correct, but slow). Not supported: stock llama.cpp and the tools that bundle it
|
| 72 |
+
(Ollama, LM Studio, llama-cpp-python wheels), Metal, Vulkan and ROCm backends.
|
| 73 |
+
|
| 74 |
+
**GPU memory** ≈ file size + KV cache + ~0.3 GB of compute buffers. Qwen3.5-9B has 8 full-attention layers (the other 24
|
| 75 |
+
are Gated-DeltaNet layers with a small fixed-size state), 4 KV heads and 256-dim heads, so the f16 KV cache costs
|
| 76 |
+
32 KB per token of context: 1 GB at 32K, 4.2 GB at 128K, 8.4 GB at the full 262K. `-ctk q8_0 -ctv q8_0` halves it.
|
| 77 |
+
Estimated GPU memory in GB by context length (measured on a V100: 13.7 GB for the 4.0-bit file at 262K, against 14.6 GB
|
| 78 |
+
for Q4_K_M):
|
| 79 |
+
|
| 80 |
+
| file | GB | 8K | 32K | 128K | 262K |
|
| 81 |
+
|---|---|---|---|---|---|
|
| 82 |
+
| `ShiftAddQwen-3.5-9B-4.4bits.gguf` | 5.10 | 5.7 | 6.5 | 9.7 | 14.0 |
|
| 83 |
+
| `ShiftAddQwen-3.5-9B-4.0bits.gguf` | 4.76 | 5.3 | 6.1 | 9.4 | 13.6 |
|
| 84 |
+
| `ShiftAddQwen-3.5-9B-3.6bits.gguf` | 4.41 | 5.0 | 5.8 | 9.0 | 13.3 |
|
| 85 |
+
| `ShiftAddQwen-3.5-9B-3.2bits.gguf` | 4.07 | 4.6 | 5.4 | 8.7 | 13.0 |
|
| 86 |
+
| `ShiftAddQwen-3.5-9B-3.0bits.gguf` | 3.90 | 4.5 | 5.3 | 8.5 | 12.8 |
|
| 87 |
+
|
| 88 |
+
So every file fits an 8 GB GPU (RTX 3070 / 4060 / 2080) at 32K context, a 12 GB GPU (RTX 3060 12 GB / 4070) at 128K,
|
| 89 |
+
and a 16 GB GPU (RTX 4060 Ti 16 GB / 4080 / V100 16 GB) at the full 262K; the 3.0- and 3.2-bit files fit a 6 GB GPU
|
| 90 |
+
(RTX 2060 / 3050 / GTX 1660) at 32K. Add about 0.2 GB for the MTP draft head with `--spec-type draft-mtp`, and the KV
|
| 91 |
+
cache is per slot: `-np N` multiplies the context term by N.
|
| 92 |
+
|
| 93 |
## Run
|
| 94 |
|
| 95 |
```bash
|