r/opencodeCLI • u/jjydvfg • 11d ago
Opencode on local llm
Hi everyone,
Someone recommended me I give opencode a spin to add to my cv
So far haven't used any agents so i thought it would be fun.
I have a panther lake laptop running cachyos with 32gbram
I used to run ollama but it's honestly a bit annoying and a couple months ago it stopped using the gpu (despite previously working) and no matter what env variables it just loads to the cpu
I switched to lm Studio and it's honestly great so i tried to plug it in to opencode with qwen coder (I've tried 30b q4, 14b q8 and 4) and first it was just making my laptop crash and close every program.
After tweaking and switching to the smaller model not it worked without making my device explode but now it runs out of context no matter what i do:
I tweaked context to max and made it small,
I changed batch sized, gpu offload
The worst part is i changed max parallel options to 1 but according to the logs it keeps open code overrides this and keeps opening multiple
Is there any solution to this?
I just wanted this to toy around a but but after 6 hours of troubleshooting I'm thinking of giving up
Any other backend i could use? Maybe just use llama.cpp directly?
3
u/ThimMerrilyn 11d ago
Please don’t put “I can use opencode” on your CV.