Multi-hour llama.cpp optimization experiments on Qwen MoE: patches, benchmarks, repro guides

Aelexi93 · reddit · 2026-09-18

A developer ran multi-hour llama.cpp optimization experiments (driven by Astra) to speed up local MoE inference while keeping model weights and quantization unchanged, targeting Qwen3.6-35B-A3B and Qwen3.8 Flash-Next. Hardware: RTX 4080 (16GB VRAM), Ryzen 9 5900X, 64GB DDR4 RAM.

Several workloads saw substantial gains, especially prompt processing and source-code editing; regressions and tradeoffs are documented alongside results. Tests include correctness checks but don't establish unchanged quality across every task. Source patches, benchmark summaries, and reproduction guides are on GitHub (Abzolute1/llama-cpp-optimization-lab); the author welcomes independent reproduction on other hardware, and suggests handing the repo to your coding agent. The portable clean-build route still needs end-to-end validation.

Original post →

More from Infra

Infra channel →