Image-Text-to-Text
GGUF
rotorquant
kv-cache-quantization
qwen
qwen-3.6
qwen3.6
Mixture of Experts
multimodal
instruct
llama-cpp
quantized
conversational
Instructions to use majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS 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 majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS 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 majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS # Run inference directly in the terminal: llama cli -hf majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS # Run inference directly in the terminal: llama cli -hf majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
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 majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS # Run inference directly in the terminal: ./llama-cli -hf majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
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 majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS # Run inference directly in the terminal: ./build/bin/llama-cli -hf majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
Use Docker
docker model run hf.co/majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
- LM Studio
- Jan
- vLLM
How to use majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS", "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/majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
- Ollama
How to use majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS with Ollama:
ollama run hf.co/majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
- Unsloth Desktop
- Pi
How to use majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
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": "majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS with Docker Model Runner:
docker model run hf.co/majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
- Lemonade
How to use majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
Run and chat with the model
lemonade run user.Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS-IQ4_XS
List all available models
lemonade list
- Hermes Agent
How to use majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
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 majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
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 "majentik/Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS:IQ4_XS" \ --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"
docs: upstream-first KV-cache guidance (q8_0/q4_0, mainline Hadamard rotation); fork demoted to experimental
Browse files
README.md
CHANGED
|
@@ -17,6 +17,23 @@ library_name: gguf
|
|
| 17 |
pipeline_tag: image-text-to-text
|
| 18 |
---
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
# Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS
|
| 21 |
|
| 22 |
GGUF IQ4_XS weight-quantized variant of [Qwen/Qwen3.6-35B-A3B](https://huggingface.co/Qwen/Qwen3.6-35B-A3B) optimised for use with **RotorQuant** KV cache compression via a dedicated llama.cpp fork.
|
|
@@ -44,7 +61,7 @@ This model combines two independent compression techniques:
|
|
| 44 |
|
| 45 |
## Quickstart
|
| 46 |
|
| 47 |
-
### Option A —
|
| 48 |
|
| 49 |
You must build from the RotorQuant-enabled llama.cpp fork:
|
| 50 |
|
|
|
|
| 17 |
pipeline_tag: image-text-to-text
|
| 18 |
---
|
| 19 |
|
| 20 |
+
> [!TIP]
|
| 21 |
+
> **KV-cache quantization without any fork (recommended, 2026):** upstream
|
| 22 |
+
> llama.cpp/Ollama now cover this natively — use `-ctk q8_0 -ctv q8_0`
|
| 23 |
+
> (~half KV memory, negligible quality loss: perplexity +0.002–0.05) or
|
| 24 |
+
> `-ctk q4_0 -ctv q4_0` (~quarter memory, ≈7.6% perplexity increase). In
|
| 25 |
+
> Ollama: `OLLAMA_KV_CACHE_TYPE=q8_0` with `OLLAMA_FLASH_ATTENTION=1`. Keep
|
| 26 |
+
> K and V types symmetric to stay on the fast fused Flash-Attention path.
|
| 27 |
+
> Since April 2026, mainline llama.cpp also applies Hadamard rotation to
|
| 28 |
+
> KV activations ([PR #21038](https://github.com/ggml-org/llama.cpp/pull/21038)),
|
| 29 |
+
> which greatly improves low-bit KV quality (opt-out:
|
| 30 |
+
> `LLAMA_ATTN_ROT_DISABLE=1`).
|
| 31 |
+
>
|
| 32 |
+
> The RotorQuant/TurboQuant fork flow below is **experimental/legacy**: the
|
| 33 |
+
> TurboQuant llama.cpp PR was closed without merging (June 2026) and the fork
|
| 34 |
+
> is unmaintained relative to mainline. It is NOT required to use this model.
|
| 35 |
+
<!-- kv-upstream-note -->
|
| 36 |
+
|
| 37 |
# Qwen3.6-35B-A3B-RotorQuant-GGUF-IQ4_XS
|
| 38 |
|
| 39 |
GGUF IQ4_XS weight-quantized variant of [Qwen/Qwen3.6-35B-A3B](https://huggingface.co/Qwen/Qwen3.6-35B-A3B) optimised for use with **RotorQuant** KV cache compression via a dedicated llama.cpp fork.
|
|
|
|
| 61 |
|
| 62 |
## Quickstart
|
| 63 |
|
| 64 |
+
### Option A — RotorQuant KV cache (experimental fork — not required)
|
| 65 |
|
| 66 |
You must build from the RotorQuant-enabled llama.cpp fork:
|
| 67 |
|