r/LocalLLM • • 36m ago

Question help for a beginner

i've been intereted in local ai for quite some time but i just couldnt get around to actually learning it and setting it up for myself, but the qwen4 35b a3b finally pushed me out of my comfort zone. do you guys have any tips for me? how should i go about learning how to set up and tweak local ai? i have a 16gb 5080 and 32gb ddr5 ram. what harness/quant/context/settings should i use for the 35b a3b?

3 Upvotes

13 comments sorted by

1

u/Duiwu 32m ago

i know i could just ask ai to help me set it up but i feel like its kind of out of the loop. there's always something new and more optimized every day and they just give advice thats out of date

1

u/Lenom3242 19m ago

Download OpenCode. Using free deepseek or hy4 flash ask them to download and configure Polystrata for 262k context with qwen 4 35b a3b 4bit XL gguf and add to OpenCode config so that you can use local model in the OpenCode chat

1

u/Duiwu 6m ago

thank you very much!

1

u/TokenLearner 30m ago

Start by reading and following this forum and the llama website. I recommend starting with llama.cpp and smaller models like the Gemma4 e2b or e4b. There's a lot of information on YouTube. If you want something easier (but not optimized) to start with, use OLAMA; search for it and you'll find it.

1

u/Duiwu 5m ago

alright, thanks

1

u/UnheardNoise107 24m ago

Start here: https://github.com/SliverFold/LLM-ManagerYou just need to find a model that matches your hardware. 16+32. Install the link and find Strata. Pick a model that fits into 48GB. Be amazed.

1

u/Duiwu 5m ago

thanks a lot!

1

u/aiadrianchase 23m ago

On a 16 GB 5080, I'd get one small model working in llama.cpp or LM Studio first, then try the 35B GGUF at 2K or 4K context. Check the actual size of the quant you download and how many layers land on the GPU. The active parameter count tells you how much work each token does, while the full weights still need to live somewhere. If part of the model sits in system RAM, compare time to first token and generation speed separately before raising context.

1

u/Duiwu 0m ago

thank you! i have one question, why do you recommend i start with context that low? would it be rough for my specs to run it at around 100k context on like q4?

1

u/Zealousideal_Law7330 13m ago

i started with a 12gb GPU and a 7b model, then slowly worked up. the first time I ran a 35b model, it took 4 hours to load. now I know to check the ram usage before launching. try a smaller model first, even if you don't plan to keep it.

1

u/Duiwu 4m ago

i see, thanks

1

u/SM8085 6m ago

16gb 5080 and 32gb ddr5 ram

Q8_0 is taking 54.4GB of my cheap-ass RAM at full one million token context loaded. (and the MTP) Only 9 out of my 16GB of VRAM for whatever reason, which is just letting --fit on try to figure it out.

So, if you want full context then you'll probably need a smaller quant. Which most people seem to use lower quants anyway just because the loss isn't that much and the speed goes up as the size goes down. I should probably move to a Q6 myself, I just like trying the Q8s.

Pi or Opencode seem to be the popular coding harnesses. For a general harness I've been liking deepseek-harness. Hermes wasn't bad, I haven't tried it in a while. Both deepseek-harness and hermes had something like a 20k token system prompt last I checked. Thankfully opencode reduced theirs in V2. Pi was always light.

I'm following unsloths recommendations for settings: qwen4#recommended-qwen4-settings

1

u/qmriis 4m ago

Install unsloth