Instructions to use groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF", filename="Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: llama-cli -hf groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: llama-cli -hf groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL
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 groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: ./llama-cli -hf groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL
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 groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL # Run inference directly in the terminal: ./build/bin/llama-cli -hf groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL
Use Docker
docker model run hf.co/groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL
- LM Studio
- Jan
- vLLM
How to use groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-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": "groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL
- Ollama
How to use groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF with Ollama:
ollama run hf.co/groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL
- Unsloth Studio
How to use groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF to start chatting
- Pi
How to use groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-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:8080/v1 hermes config set model.default groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF with Docker Model Runner:
docker model run hf.co/groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL
- Lemonade
How to use groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL
Run and chat with the model
lemonade run user.Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF-UD-Q4_K_XL
List all available models
lemonade list
Configure the model in Pi
# Install Pi:
npm install -g @mariozechner/pi-coding-agent# Add to ~/.pi/agent/models.json:
{
"providers": {
"llama-cpp": {
"baseUrl": "http://localhost:8080/v1",
"api": "openai-completions",
"apiKey": "none",
"models": [
{
"id": "groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL"
}
]
}
}
}Run Pi
# Start Pi in your project directory:
piQwen3.5-122B-A10B-abliterix UD-Q4_K_XL GGUF
User-Defined (UD) mixed-precision quantization of Qwen3.5-122B-A10B-abliterix for llama.cpp.
What is UD (User-Defined) Quantization?
UD quantization is a per-tensor mixed-precision approach that goes beyond blanket quantization methods (like Q4_K_M or Q8_0 applied uniformly). Instead of using the same quantization type for every tensor, UD assigns an individually chosen type to each tensor based on its role in the model architecture and its sensitivity to precision loss.
How it differs from standard quantization
| Aspect | Standard (e.g. Q4_K_M) | UD Quantization |
|---|---|---|
| Tensor types | One type for all (or a fixed pattern) | Each tensor gets its own type |
| Precision allocation | Uniform | Adaptive per tensor role |
| Importance matrix | Optional (general guidance) | Used to optimize k-quant block selection |
| Expert tensors | Same type as all others | Can be individually tuned |
The UD methodology for this model
Architecture analysis: Qwen3.5-122B-A10B is a Mixture-of-Experts (MoE) model with 48 layers, 256 experts per layer (8 active), shared expert FFN, and SSM (state-space model) components. Each tensor was classified by its function:
Attention weights (
attn_qkv,attn_gate,attn_q,attn_k,attn_v,attn_output): Quantized to Q8_0 — attention projections are highly sensitive to precision loss and benefit from near-lossless compression.Expert FFN up/gate weights (
ffn_up_exps,ffn_gate_exps): Quantized to Q4_K — these are the largest tensors in the model (256 experts x 3072x1024 each) and dominate the model size. Q4_K provides an excellent size/quality tradeoff for activation functions.Expert FFN down weights (
ffn_down_exps): Quantized to Q5_K — the down-projection is slightly more sensitive than up/gate, so Q5_K preserves more information here.Shared expert FFN (
ffn_down_shexp,ffn_up_shexp,ffn_gate_shexp,ffn_gate_inp_shexp): Quantized to Q8_0 — the shared expert processes every token, making it critical for quality.Router/gating (
ffn_gate_inp,ffn_gate_inp_shexp): Kept at F32 — the router decides which experts to activate. Even small precision errors here can cause misrouting, severely degrading output quality.SSM components (
ssm_a,ssm_conv1d,ssm_dt.bias,ssm_norm): Kept at F32 or Q8_0 — these are small tensors that play a structural role in the hybrid attention/SSM layers.Norms (
attn_norm,post_attention_norm,output_norm): Kept at F32 — normalization layers are tiny but critical for numerical stability.Token embeddings (
token_embd.weight): Quantized to Q8_0.Output projection (
output.weight): Quantized to Q8_0.
Importance matrix: A partial importance matrix (imatrix) was computed on coding-focused calibration data using
llama-imatrix. This guides the k-quant block selection within each tensor, prioritizing precision on the most activation-sensitive dimensions. The imatrix was computed atn_ctx=512across multiple calibration chunks before the quantization run.Quantization:
llama-quantizefrom llama.cpp was used with--tensor-type-fileto apply the per-tensor type map, combined with--imatrixfor importance-weighted block selection within each quantized tensor.
Resulting size
| Component | Size |
|---|---|
| This GGUF file | ~72 GB |
| Original BF16 GGUF | ~244 GB |
| Compression ratio | ~3.4x |
Usage with llama.cpp
llama-server -m Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL.gguf \
-ngl 999 \
-c 32768 \
-fa on \
--reasoning auto
Multi-GPU tensor split example (3x RTX 3090 + 2x RTX 3060)
llama-server -m Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL.gguf \
-ngl 999 \
-ts 24,24,12,12,24 \
-c 32768 \
-ctk q8_0 -ctv q8_0 \
-fa on \
--reasoning auto
Provided by
- Quantized by: groxaxo
- Base model: wangzhang/Qwen3.5-122B-A10B-abliterix
- Quantization engine: llama.cpp build 8736
- Downloads last month
- 142
4-bit
Model tree for groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF
Base model
Qwen/Qwen3.5-122B-A10B
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp# Start a local OpenAI-compatible server: llama-server -hf groxaxo/Qwen3.5-122B-A10B-abliterix-UD-Q4_K_XL-GGUF:UD-Q4_K_XL