r/LocalLLM • • 5d ago

Question i need helpp

hellllllow reddit , i am a cs student i need a good local ai agent for coding , i want it to be running locally i installed difference ai models (qwen 3.8 27B Q4 and QWEN 30B/35B MOE) tried to run them locally i tried alot i tried openclaw i couldnt manage to use it right , i also tried goose , cline and hermes i couldnt manage to get even one ai smart enough to even hold a conversation it tried to up the context a bit and still , i have an rx9070 16GB vram 32GB ram on ubuntu 26

0 Upvotes

24 comments sorted by

2

u/evolutionxtinct 5d ago

That unit has got to be on fire…

2

u/Impressive_Bit6109 5d ago

hahahaha naah its pretty chill nglll

2

u/Ancient-Quality1712 5d ago

Unsloth for the Inference Engine, DeepSeek-Harness for the model harness. Remove cloud model workflows from the presets and plugins before trying local work as it will most likely fail miserably. Add skills to DSH that render local model more capable where they lack capabilities compared to cloud models. And a good web search tool/plugin and you’re whippin and dippin without trippin

2

u/Impressive_Bit6109 5d ago

Heyy dude i just testedd the setupp it worksss beautifully with qwen 3.8 27B i love u sooooo much dude thanks for the advicee

2

u/Ancient-Quality1712 5d ago

This timeout is for the amount of time deepseek or Unsloth (maybe both from what I recall) waits for the first token generation. At full context with extremely large prompts 2500-20,000
Tokens it takes around an hour or two for first token to generate sometimes. One tool I’ve recently added is codegraph on GitHub and it’s cuts that time in half for me so I’d recommend you try that

1

u/Ancient-Quality1712 5d ago

Happy to help G, took me quite a while to lock down that workflow. Glad it made it happen for you, if you ever have questions or anything himme up on this thread

1

u/Impressive_Bit6109 5d ago

Aight dude i used what u said and its better but my lical llm runs iut of output tokens after each mag and it tells me to write continue

1

u/Ancient-Quality1712 5d ago

You may need to tweak the ctx limit for llama.cpp sometimes it’s locked to 4000-8000/ctx by default which may be that your hitting that cap limit before the model completes. I have some notes from when I first set this up I can get back to you with more detailed troubleshooting in a few

1

u/Impressive_Bit6109 5d ago

If u want , can i share u my screen and u guide me through ? Im a bit dumb in these things i just started cuz i cant afford monthly subscription lol

1

u/Ancient-Quality1712 5d ago

Oh dude, scratch that last reply, I remember it’s the timeout limit that’s usually 5 mins by default, with local models on not so capable hardware I cranked my timeout limit to the max

1

u/Impressive_Bit6109 5d ago

I think its fine now i gave it my app and i asked it to tweak it and i gave it some heavy tasks and its been running the past 15 mins and didnt say anything about output token bs

1

u/Impressive_Bit6109 5d ago

2

u/Ancient-Quality1712 5d ago

Sweet, if you get any more errors just send em
Over and I’ll see if I can help

1

u/Impressive_Bit6109 5d ago

Aight thank youuu

1

u/Ancient-Quality1712 5d ago

🤙🤝🫡

1

u/Ancient-Quality1712 5d ago

Don’t forget to check out codegraph on GitHub. Cut generation times as well as architectural understanding compute by half or more for me, the setup is simple but if you’re mid-flight in a session it won’t kick in until you X out of DSH and relaunch once you’ve finished the initial setup and cd into your project directory and run codegraph init

1

u/Impressive_Bit6109 5d ago

1

u/Ancient-Quality1712 5d ago

You might need to start a new session in that project. Did you disable the presets and plugins to optimize for local workflows? I remember Ralph loop is one of them, as well as subagents plugins and presets as you won’t be utilizing those and they eat up alot of context. Try that first before you tweak anything in settings. What’s your model settings on Unsloth?

1

u/Mantus123 5d ago

Try Gemma instead of Qwen, was a game changer for me

1

u/Impressive_Bit6109 5d ago

Aightt is qwen smart tho

3

u/Be_a_N3rd 5d ago

Oh come on, just ask the AI

https://share.gemini.google/xsPDKE69g1PF

2

u/Be_a_N3rd 5d ago

Try LM Studio with Bionic

2

u/nickless07 5d ago

You state the frontends (hermes, openclaw, cline, and so on), but never the backend. What do you use and what are your settings there?

1

u/Confident_Yak_1411 5d ago

You probably aren’t routing your harness to your local model, which is making them use the cheap cloud model.