How to use from
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 macwhisperer/Qwen3.5-9B-SuperDense:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf macwhisperer/Qwen3.5-9B-SuperDense:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf macwhisperer/Qwen3.5-9B-SuperDense:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf macwhisperer/Qwen3.5-9B-SuperDense:Q4_K_M
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 macwhisperer/Qwen3.5-9B-SuperDense:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf macwhisperer/Qwen3.5-9B-SuperDense:Q4_K_M
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 macwhisperer/Qwen3.5-9B-SuperDense:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf macwhisperer/Qwen3.5-9B-SuperDense:Q4_K_M
Use Docker
docker model run hf.co/macwhisperer/Qwen3.5-9B-SuperDense:Q4_K_M
Quick Links

๐Ÿ“Ÿ Qwen3.5-9B-Dense-Imatrix-Q4_K_M.gguf (2026 Edition)

"Local intelligence... to the max."

This is a custom-quantized version of Qwen3.5-9B, specifically optimized to obtain the highest possible local byte-intelligence ratio with 8GB+ RAM consumer laptops or computers.

๐Ÿง  Why this model is different

Unlike a standard quant, this model was processed using a custom Importance Matrix (imatrix). The training data for the imatrix was hand-curated to preserve:

  • Incredible reasoning: Inclusion of custom coding examples built with frontier models provides high retention of very specific and sharp architectural reasoning skills
  • Logical Flow: Inclusion of llama.cpp source code, logic puzzles, and historical writing in the imatrix training to ensure the model stays coherent at low bitrates.
  • High Speed: Built using llama.cpp specifically for local-first AI and edge computing setups like apple silicon with minimum 24GB RAM

๐Ÿ›  Quantization Details

  • Base Model: Qwen3.5-9B
  • Quantization: Q4_K_M
  • Format: GGUF
  • Size: ~5.63 GB
  • Context Length: 262144 tokens

โš™๏ธ Recommended Inference Settings

Optimize for balance between creativity and coherence:

  • --repeat-penalty: 1.1 โ€“ 1.4 (Sweet spot! Pushes away from familiar loops. >1.5 causes "robot-speak".)
  • --repeat-last-n: 128 โ€“ 256 (Larger window ensures the model doesn't forget recent repetitions.)
  • --temperature: 0.7 โ€“ 0.8 (Prevents over-committing to safe/repetitive tokens.)
  • --top-p: 0.90 (Trims low-probability hallucinations without killing creativity.)
  • --min-p: 0.05 โ€“ 0.1 (Optional: Prunes very low-probability tokens if your backend supports it.)

๐Ÿ“ˆ Perplexity Benchmarks

The following results were generated using llama-perplexity on the wikitext-2-raw/wiki.test.raw dataset.

Model Precision Perplexity (PPL) ฮ” PPL
Qwen3.5-9B (No-Imatrix) Q4_K_M 8.3054 -
Qwen3.5-9B (Imatrix) Q4_K_M 8.2685 -0.0369

โš–๏ธ Evaluation Verdict

coming soon

๐Ÿš€ Hardware Performance (Apple M2)

coming soon

๐ŸŒ Links

Check out my other models!

24GB+ (RAM)

Qwen3.8-27B-SuperDense.

Qwen3.6-35B-SuperMoE.

Qwen3.6-27B-SuperDense.

Gemma4-31B-SuperDense.

Gemma4-26B-SuperMoE.


16GB+ (RAM)

Gemma4-12B-SuperDense.


8GB+ (RAM)

Qwen3.5-4B-SuperDense.

Gemma4-4B-SuperDense.

Gemma4-2B-SuperDense.


4GB+ (RAM)

Smartchild.


All make excellent companions to this model!


Downloads last month
76
GGUF
Model size
9B params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for macwhisperer/Qwen3.5-9B-SuperDense

Finetuned
Qwen/Qwen3.5-9B
Quantized
(521)
this model