Gemma 3 27B Fails at Local Coding: File Edits Break Due to Indentation Mismatches
DanTup · reddit · 2026-08-01
A developer running Gemma 3 27B locally (bf16 precision, served with vLLM) has identified a significant flaw in the model's coding capabilities.
Specifically, when attempting to edit files, the model frequently provides incorrect "original content" (particularly messing up indentation). This causes code editing harnesses to reject the modification because the exact text doesn't exist in the file, trapping the model in an infinite retry loop.
The user reproduced this issue across multiple harnesses like Goose, Copilot, and Codex, suggesting it is a shortcoming in the model's ability to accurately recall context rather than a tool-specific integration problem.
More from Models
- OpenAI Privately Demonstrated 'Astra' Multi-Agent System to U.S. Officials — ChrisGPT · 2026-08-01
- OpenAI Slashes GPT-5.6 Luna API Price by 80%, Rivaling Opus 5 at 1/17 Cost — gabrielchua · 2026-08-01
- Claude Opus 5 Called Unusable, Sonnet 5 Praised as Most Reliable Model — seanmcdonaldxyz · 2026-08-01
- Did Frontier Models Adopt the Unlimited OCR Tech? Community Weighs In — Wise_Stick9613 · 2026-08-01
- Users Report Claude Opus Has 'Weird Psychiatric Tone' and Poor German Grammar — MarcJSchmidt · 2026-08-01
- DeepSeek Builds Working Game for Just $0.07, Making Coding Too Cheap to Meter — rand_longevity · 2026-08-01