Local 27B coder hits compaction loops on big projects; code indexing proposed as fix

OuterKey · reddit · 2026-10-14

A Reddit user running Qwen 3.8 27B locally on an R9700 for coding describes a compaction death spiral: as projects grow, context fills faster, compaction fires between every edit until the model stops doing useful work.

Switching to Q4KXL quantization and Q8 KV cache extended context from 100-150k to 200k tokens. Proposed mitigations include indexing code (function signatures with comments, line numbers, full structs) to reduce re-reads, and extreme modularity to narrow model focus — though cross-module changes make the latter cumbersome.

Original post →

More from coding & agent

coding & agent channel →