Text Generation
GGUF
rotorquant
kv-cache-quantization
qwen
qwen3.5
llama-cpp
quantized
conversational
Instructions to use majentik/Qwen3.5-27B-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.5-27B-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.5-27B-RotorQuant-GGUF-IQ4_XS:IQ4_XS # Run inference directly in the terminal: llama cli -hf majentik/Qwen3.5-27B-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.5-27B-RotorQuant-GGUF-IQ4_XS:IQ4_XS # Run inference directly in the terminal: llama cli -hf majentik/Qwen3.5-27B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
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 majentik/Qwen3.5-27B-RotorQuant-GGUF-IQ4_XS:IQ4_XS # Run inference directly in the terminal: ./build/bin/llama cli -hf majentik/Qwen3.5-27B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
Use Docker
docker model run hf.co/majentik/Qwen3.5-27B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
- Llama new
- LM Studio
- Jan
- vLLM
How to use majentik/Qwen3.5-27B-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.5-27B-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.5-27B-RotorQuant-GGUF-IQ4_XS", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/majentik/Qwen3.5-27B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
- Ollama
How to use majentik/Qwen3.5-27B-RotorQuant-GGUF-IQ4_XS with Ollama:
ollama run hf.co/majentik/Qwen3.5-27B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
- Unsloth Desktop
- Pi
How to use majentik/Qwen3.5-27B-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.5-27B-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.5-27B-RotorQuant-GGUF-IQ4_XS:IQ4_XS" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use majentik/Qwen3.5-27B-RotorQuant-GGUF-IQ4_XS with Docker Model Runner:
docker model run hf.co/majentik/Qwen3.5-27B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
- Lemonade
How to use majentik/Qwen3.5-27B-RotorQuant-GGUF-IQ4_XS with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull majentik/Qwen3.5-27B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
Run and chat with the model
lemonade run user.Qwen3.5-27B-RotorQuant-GGUF-IQ4_XS-IQ4_XS
List all available models
lemonade list
- Hermes Agent
How to use majentik/Qwen3.5-27B-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.5-27B-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.5-27B-RotorQuant-GGUF-IQ4_XS:IQ4_XS
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use majentik/Qwen3.5-27B-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.5-27B-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.5-27B-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: card hygiene — llama-completion -no-cnv, drop fork-clone quickstart (upstream-first KV guidance)
Browse files
README.md
CHANGED
|
@@ -57,40 +57,13 @@ This model combines two independent compression techniques:
|
|
| 57 |
|
| 58 |
## Quickstart
|
| 59 |
|
| 60 |
-
###
|
| 61 |
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
```bash
|
| 65 |
-
# Clone and build the fork
|
| 66 |
-
git clone https://github.com/johndpope/llama-cpp-turboquant.git
|
| 67 |
-
cd llama-cpp-turboquant && git checkout feature/planarquant-kv-cache
|
| 68 |
-
|
| 69 |
-
# CUDA (Windows/Linux)
|
| 70 |
-
cmake -B build -DGGML_CUDA=ON -DCMAKE_BUILD_TYPE=Release && cmake --build build -j
|
| 71 |
-
|
| 72 |
-
# Metal (Apple Silicon)
|
| 73 |
-
cmake -B build -DGGML_METAL=ON -DGGML_METAL_EMBED_LIBRARY=ON -DCMAKE_BUILD_TYPE=Release && cmake --build build -j
|
| 74 |
-
|
| 75 |
-
# Run with RotorQuant KV cache
|
| 76 |
-
./build/bin/llama-cli -m Qwen3.5-27B-RotorQuant-GGUF-IQ4_XS.gguf \
|
| 77 |
-
--cache-type-k iso3 --cache-type-v iso3 \
|
| 78 |
-
-ngl 99 -fa \
|
| 79 |
-
-p "Explain quantum computing"
|
| 80 |
-
|
| 81 |
-
# Or run as a server
|
| 82 |
-
./build/bin/llama-server -m Qwen3.5-27B-RotorQuant-GGUF-IQ4_XS.gguf \
|
| 83 |
-
--cache-type-k iso3 --cache-type-v iso3 \
|
| 84 |
-
-ngl 99 -fa --jinja
|
| 85 |
-
```
|
| 86 |
-
|
| 87 |
-
### Option B — With standard llama.cpp / LM Studio / Ollama
|
| 88 |
-
|
| 89 |
-
The GGUF works as a normal quantised model. You won't get RotorQuant-specific KV cache benefits, but standard KV cache quantization (q8_0, q4_0) still reduces VRAM significantly.
|
| 90 |
|
| 91 |
**llama.cpp (upstream)**
|
| 92 |
```bash
|
| 93 |
-
llama-
|
| 94 |
--cache-type-k q8_0 --cache-type-v q8_0 \
|
| 95 |
-ngl 99 -fa \
|
| 96 |
-p "Explain quantum computing"
|
|
|
|
| 57 |
|
| 58 |
## Quickstart
|
| 59 |
|
| 60 |
+
### llama.cpp / LM Studio / Ollama (upstream)
|
| 61 |
|
| 62 |
+
The GGUF works as a normal quantised model. For KV-cache savings use the upstream path described in the tip at the top of this card (`-ctk q8_0 -ctv q8_0`, or `q4_0`); no fork is required.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
**llama.cpp (upstream)**
|
| 65 |
```bash
|
| 66 |
+
llama-completion -no-cnv -m Qwen3.5-27B-RotorQuant-GGUF-IQ4_XS.gguf \
|
| 67 |
--cache-type-k q8_0 --cache-type-v q8_0 \
|
| 68 |
-ngl 99 -fa \
|
| 69 |
-p "Explain quantum computing"
|