Instructions to use peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-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 peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-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 peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS # Run inference directly in the terminal: llama cli -hf peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS # Run inference directly in the terminal: llama cli -hf peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS
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 peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS # Run inference directly in the terminal: ./llama-cli -hf peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS
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 peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS # Run inference directly in the terminal: ./build/bin/llama-cli -hf peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS
Use Docker
docker model run hf.co/peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS
- LM Studio
- Jan
- Ollama
How to use peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF with Ollama:
ollama run hf.co/peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS
- Unsloth Desktop
- Pi
How to use peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS
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": "peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF with Docker Model Runner:
docker model run hf.co/peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS
- Lemonade
How to use peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS
Run and chat with the model
lemonade run user.Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF-IQ2_XXS
List all available models
lemonade list
- Hermes Agent
How to use peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-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 peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS
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 peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS
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 "peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS" \ --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.5-122B-A10B PS-IQ2_XXS-MTP (Peasant Smith)
The first IQ2_XXS-class GGUF of Qwen3.5-122B-A10B — smaller than any published quant (unsloth's ladder floors at Q3_K_S 52.5 GB) — built entirely from the original Qwen/Qwen3.5-122B-A10B weights with the native MTP (nextn) head embedded at Q8_0.
File: Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP.gguf — 41.77 GB (38.9 GiB), ≈2.7 bits/param over 122B total params.
SHA-256: 01bd59623e7d4f2f45bd1ce8665042bf449b8000a76480281bef7866cfce5557
Provenance chain (100% original weights)
Qwen/Qwen3.5-122B-A10Bofficial BF16 safetensors (39 shards, 244 GB — no third-party quant or modified repo involved)- → GGUF master via llama.cpp
convert_hf_to_gguf.py(archqwen35moe,nextn_predict_layers = 1, MTP remapped toblk.48.*and embedded at full precision) - →
llama-quantizeimportance-matrix quant with the tensor split below
Imatrix: imatrix_unsloth.gguf from unsloth/Qwen3.5-122B-A10B-GGUF (359 MB, large diverse calibration corpus). Verified before use: 144/144 main expert tensors covered, zero naming mismatches against our master; the only uncovered tensors are the 3 MTP expert tensors, which were pinned out of IQ quantization.
Tensor split (verified from output file — 0 violations)
| Class | Tensors | Type |
|---|---|---|
| Routed expert gate/up | 96 | IQ2_XXS |
| Routed expert down | 48 | Q2_K |
| Token embeddings | 1 | Q6_K |
| Attention, shared experts, router, output, norms | 384 | Q8_0 |
| Layer norms/biases | 370 | F32 (kept) |
| MTP / nextn block (blk.48) | 20 | Q8_0 |
Down-projection gets one full step above gate/up because its errors land directly and additively on the residual stream, while gate/up errors pass through activations first. The MTP head is kept at maximum fidelity so the draft head stays sharp.
Measured quality checks
| Test | Result |
|---|---|
| Greedy smoke ("The capital of France is") | ✅ "The capital of France is Paris." (finish=stop) |
| Needle recall ("9137 steps", 8k ctx) | ✅ exact answer 9137 |
| LRU cache code task (8k ctx) | ✅ complete correct doubly-linked-list LRU with sentinel nodes, O(1) get/put, eviction (5000-token continuous generation, zero degradation) |
| Long-generation stability | ✅ 5000 tokens continuous at steady t/s |
| Perplexity (wikitext-2) | not measured — see honesty note below |
Usage
llama-server -m Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP.gguf -ngl 99 -ncmoe 20 -c 8192 --load-mode none
Requires a recent llama.cpp master (qwen35moe + linear-attention + MRoPE support). The model ships its chat template; use --jinja.
Limitations
- 2-bit experts: real quality delta vs BF16 exists by construction; task battery above passed but long-tail knowledge degradation is expected at this footprint
- Text-only (vision tower of the original repo is not part of this GGUF)
- Not verified beyond 8k context
- Ollama can load the file, but
-ncmoe-style expert pinning is llama.cpp-only
Running with ollama
ollama derives its tag from the GGUF filename (last dash-separated segment):
ollama run hf.co/peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF:IQ2_XXS
Notes:
- The embedded MTP/nextn head is currently inert (llama.cpp has no draft wiring for the
qwen35moearchitecture yet); the model runs as a standard A10B MoE. - Expert-offload flags like
-ncmoeare llama.cpp-only; ollama loads with its default placement. Measured ~17 t/s with llama.cpp on 3x RTX 3060 (experts partially on CPU) - see benchmarks below.
Credit
Upstream model by Qwen (Apache-2.0). imatrix by Unsloth. Quant by Peasant Smith.
- Downloads last month
- 482
2-bit
Model tree for peasantsmith/Qwen3.5-122B-A10B-PS-IQ2_XXS-MTP-GGUF
Base model
Qwen/Qwen3.5-122B-A10B