Best settings for harness work with llama.cpp + qwen 3.8

Reddit r/LocalLLaMA Tools

Summary

The article provides optimized settings for using the Qwen 3.8 model with llama.cpp, highlighting performance gains in token generation speed and context window management on an RTX 3090 GPU.

I did some of my own testing by having the harness write its tests based on my specs and previous work, basic token gen and work on real projects with opencode and dsh, I get 59 tks in dsh one shot full software and up to 70 tks in testing on already done code base. Way more context and faser than mtp2, had 120k ctx and 41tks previously. It seems that n-max 4 with spec draft min p 0.7 is the fastest setting on Qwen 3.8 UD Q4 K M, rtx 3090. It also works with 205k context which is nice, n max 8 and 16 failed to load with larger context. Yes I use asymmetric cache since it’s not as penalized anymore imo with this of an smart model, it seems significant to be able hold context and not compress all the time. I am looking to improve on this ofc, hopefully faster wallclock time for harness work, so any suggestions welcome! My settings: /llama.cpp/build/bin/llama-server \ -m //Qwen3.8-27B-UD-Q4_K_M.gguf \ --ctx-size 205000 --parallel 1 --kv-unified \ --flash-attn on -ctk q8_0 -ctv q4_0 --port 8080 \ --temp 0.6 --top-p 0.95 --top-k 20 --min-p 0.0 \ --spec-type draft-mtp --spec-draft-n-max 4 --spec-draft-p-min 0.7 \ --batch-size 512 --ubatch-size 512 \ --reasoning-effort xhigh --reasoning-format auto \ --fit off --cache-prompt -ngl 99 --no-mmproj
Original Article

Similar Articles

Best Settings for 48GB VRAM + Qwen 3.6 27B

Reddit r/LocalLLaMA

A user shares optimized settings for running Qwen3.6 27B (Q8_0) on a dual GPU setup (RTX 4090 + RTX 3090) with llama.cpp, achieving 75-100 t/s and 1500 pp with 250k context.

Qwen 3.6 27B flags/settings in llama.cpp

Reddit r/LocalLLaMA

A user shares their llama.cpp server configuration for running Qwen 3.6 27B on an RTX 5090, achieving 80-100 t/s, and asks the community for alternative settings and tips.