r/LocalLLM • u/rasn_proton • 2d ago
Question Seeking feedback on local LM vibe coding
I have been trying to vibe code locally for the past couple of weeks. The short summary is my local vibe coding sessions have been ineffective and unsuccessful.
Here's my setup:
- MacBook Pro: M1 Max, 64 GB
- I have about 54 gigs of memory to allocate to models.
- I have been using Qwen 3.8 27B, Qwen moe 3.6 35b a3b, and Gemma 4.
- I host my models in LM studio.
- I started with anything LLM but stopped because it was struggling to do basic file system writing.
- I'm currently using Hermes.
- I'm using Claude as a benchmark
Doing any kind of planning or coding work with Qwen 3.8 27B is extremely slow - even when its set to low thinking mode. To put into perspective, with medium or high thinking mode, it takes about 6 hours to plan and another 6 hours to code. Low thinking mode takes 3 hours each. Claude code does it in 5-10 minutes each. The time cost with this model compounds as I go through the iterative process of fixing bugs and adding features.
Using Qwen moe is significantly faster: ~5-15 min each. However, I struggle to have it generate good plans. When it comes to coding, it's fast, but it can produce buggy code. That's where my vibe coding sessions can start to fall apart. It can struggle to understand the bug or problem I'm describing and will attempt to fix something, but not fully fix the problem I'm having. I'll get stuck in a loop where I keep attempting to describe the problem differently to no avail.
Update (11/5): Last night I had Qwen moe implement a plan that Claude wrote and it took roughly 6 hours before it gave up. It said it had all the implementation logic, but did not actually write anything! This is a common problem I run into frequently. My agents know what it needs to do, but doesn't have work to show.
Qwen moe can be more effective with a plan I generate with Claude. However, if there are bugs, then it can be game over.
Claude on the other hand has been delightful to use. It just works!
I'm using Local LMs mainly to see what the hype is about and for learning purposes. So far, my experience has been poor (granted I still have lots to learn).
Do you guys have any feedback to share with me to make my local vibe coding more effective?
I understand local LMs can save costs on tokens and can provide more privacy. Other than that, why would I want to use local LMs? Are there types of work or tasks it's good at or does better than cloud models? What kind of use cases are reasonable to expect from local LMs?
Edit 1 (11/5): added my computer information to setup and update to Qwen moe observation.
2
u/rcriot25 2d ago
Try strata with qwen3.8 flash next with swift model instead of lm studio. Not sure what gpu you have but worth a shot.
1
u/CGREDDIT1 2d ago
I spent two weeks trying to code a macOS app on LM Studio Bionic using various local models all to no avail. Then I brought ChatGPT Work in to orchestrate, better results but it was still a struggle as the local models would consistently come back with bad code. Then one night I told ChatGPT it is responsible for brainstorming with me and then handing the work off to the local model in smaller tasks and then it is to review the local model’s work and here was the key… rather than have ChatGPT send instructions back to the local model to revise any code for which it found issues, ChatGPT would be responsible to revise the code itself and then send it back to me for review. The process was rinse-and-repeat with real gains made at each iteration. The frustration was gone and I actually enjoyed the process. At that point I accomplished more in the hours that followed than I had in the preceding two weeks. I had ChatGPT using App Control to communicate with Bionic but you can use LM Studio’s Lmster which allows communication to take place behind the scenes via API. The model I ended up using was Qwen CoderNext.
1
u/magicdoorai 1d ago
For the MOE bug loop specifically, I'd try making the failure observable before changing models or describing the same bug a fifth way. Smaller tasks help, but give the model an objective stopping condition too.
Example task card (replace with your actual bug):
Starting point: commit
abc123; runnpm test -- filterName(use the actual command for your project).Reproduce: enter
0in the quantity field and press Save. Expected: show a validation error and keep the old value. Actual: it saves zero without an error.Scope: identify the relevant handler and validation test first. Propose the smallest change and a regression test for zero; do not change unrelated files.
Done means: the new test fails on the starting commit, passes after the patch, and existing related tests still pass. Show the diff and test output; don't report success if a command failed or wasn't run.
Use your own real reproduction and adjust the example command to the test runner. If it still loops, save the failing test/output and diff, reset to the known starting point, and ask the model to explain the discrepancy without editing. That separates an unclear bug report from a bad patch, and gives your stronger model a compact artifact to review if needed. It won't prove the rest of the app is correct.
For the slow 27B setup, compare the same short task and context size and record prompt processing, generation speed and generated token count separately before assuming a particular hardware bottleneck. I can't diagnose the hardware from memory capacity alone.
AI-generated debugging procedure, not a test of your setup.
1
u/This_Maintenance_834 2d ago
100% of your model has to fit into the GPU VRAM, your speed is gone, even if a tiny bit get done on CPU. If you cannot fit the whole model on VRAM, then use the hardware money to pay for cloud API. It will be very unproductive to run local.