by finnjohnsen2 · 7mo ago · 0 comments
But every time a local model gets me by - I feel closer to where I should be; writing code should still be free. Both free as in free beer, and free as in freedom.
My setup is a seperate dedicated Ubuntu machine with RTX 5090. Qwen 3.6:27b uses 29/32gb of vram when its working right this minute. I use Ollama in a non root podman instance. And I use OpenCode as ACP Service for my editor, which I highly recommend. ACP (Agent Client Protocol) is how the world should be in case you were asking, which you didnt :)
Exciting times and thank you Qwen team for making the world a better place in a world of Sam Altmans.
I’m just pleased by the competition, agree with the ideal of free and local but sustainable competition is key: driving $200 p/m down to a much much lower number.
If they release a Qwen 3.6 that also makes good use of the card, may move to it.
I have intention to evaluate all four on some evals I have, as long as I don't get squirrelled again.
- Implement a numerically stable backward pass for layer normalization from scratch in NumPy.
- Design and implement a high-performance fused softmax + top-k kernel in CUDA (or CUDA-like pseudocode).
- Implement an efficient KV-cache system for autoregressive transformer inference from scratch.
and tested Qwen3.6-27B (IQ4_NL on a 3090) against MiniMax-M2.7 and GLM-5 with kimi k2.6 as the judge (imperfect, i know, it was 2AM). Qwen surpassed minimax and won 2/3 of the implementations again GLM-5 according to kimi k2.6, which still sounds insane to me. The env was a pi-mono with basic tools + a websearch tool pointing to my searxng (i dont think any of the models used it), with a slightly customized shorter system prompt. TurboQuant was at 4bit during all qwen tests. Full results https://github.com/sleepyeldrazi/llm_programming_tests.
I am also periodically testing small models in a https://www.whichai.dev style task to see their designs, and qwen3.6 27B also obliterated (imo) the other ones I tested https://github.com/sleepyeldrazi/llm-design-showcase .
Needless to say those tests are non-exhaustive and have flaws, but the trend from the official benchmarks looks like is being confirmed in my testing. If only it were a little faster on my 3090, we'll see how it performs once a DFlash for it drops.
What context size are you using for that?
Btw, are you using flash attention in Ollama for this model? I think it's required for this model to operate ok.
-- Q5_K_M Unsloth quantization on Linux llama.cpp
-- context 81k, flash attention on, 8-bit K/V caches
-- pp 625 t/s, tg 30 t/s
services:
llama:
image: ghcr.io/ggml-org/llama.cpp:server-vulkan
container_name: llama-qwen3.6-27b-dense
ports:
- 4201:8080
volumes:
- ./Qwen3.6-27B-Q4_K_M.gguf:/models/model.gguf:ro,z
- ./mmproj-BF16.gguf:/models/mmproj.gguf:ro,z
devices:
- /dev/dri
group_add:
- video
command: >
-m /models/model.gguf
--mmproj /models/mmproj.gguf
--alias "Qwen3.6 27b Dense"
-ngl 99
-c 98304
-b 2048
--host 0.0.0.0
--port 8080
--parallel 2
--kv-unified
--ubatch-size 2048
--flash-attn on
-cb
--jinja
--no-webui
-ctk q8_0
-ctv q8_0
--image-min-tokens 1024
--temp 0.6
--top-k 20
--top-p 0.95
--repeat-penalty 1
--presence-penalty 1.5
--reasoning auto
restart: unless-stoppedQ8 with the same context wouldn't fit in 48GB of VRAM, it did with 128k of context.
You’re much better off adding a second GPU if you’ve already got a PC you’re using.