19

I'm pretty new to this local LLM business and hoping to have some input from the experts. I have an AMD card with 12GB VRAM and 32GB system RAM, running Linux. Currently I have llama.cpp up and running, and I tried out models Qwen2.5-Coder-14B-Instruct-GGUF and Qwen-3-14B-GGUF. So far so good.

What I'd like help with is maximizing my context window. From what I understand, I probably have to move to MoE models, but I'm not sure about the llama.cpp config, and which model to pick; I plan to use it for coding and some light reverse engineering.

Let me emphasize something: I do not care about speed! I don't care if I have to wait 2 minutes for a reply. All I care about is the largest context window I can achieve with my hardware.

Thanks in advance!

you are viewing a single comment's thread
view the rest of the comments
[-] afk_strats@lemmy.world 13 points 6 days ago

The models you picked are kind of old by llm standards so you could probably find something more performant and smarter. If you had cared about speed, I would have recommended a model derived from Qwen3.5 9b.

I recommend you try qwen 3.8 27b, specifically the Unsloth iq4 version from huggingface. When you run it with llama.cpp, set the parameters to quantize the kv cache (the params are -ctk q8_0 -ctv q8_0) and the set the context to the model max of 262144 with -c 262144. This model will be orders of magnitude smarter than the ones you listed.

If you find that model too slow, try qwen3.5 35b which has fewer active parameters. Again, look for a Unsloth q4_k version and the params I mentioned. This will be pretty good but will be faster on your system.

To get this all running, you can find guides on the Unsloth website and you may find there are ways to make these models run faster better in a mixed ram/vram situation.

Good luck and ask more questions

this post was submitted on 23 Nov 2026
19 points (88.0% liked)

LocalLLaMA

5740 readers
23 users here now

Welcome to LocalLLaMA! Here we discuss running and developing machine learning models at home. Lets explore cutting edge open source neural network technology together.

Get support from the community! Ask questions, share prompts, discuss benchmarks, get hyped at the latest and greatest model releases! Enjoy talking about our awesome hobby.

As ambassadors of the self-hosting machine learning community, we strive to support each other and share our enthusiasm in a positive constructive way.

Rules:

Rule 1 - No harassment or personal character attacks of community members. I.E no namecalling, no generalizing entire groups of people that make up our community, no baseless personal insults.

Rule 2 - No comparing artificial intelligence/machine learning models to cryptocurrency. I.E no comparing the usefulness of models to that of NFTs, no comparing the resource usage required to train a model is anything close to maintaining a blockchain/ mining for crypto, no implying its just a fad/bubble that will leave people with nothing of value when it burst.

Rule 3 - No comparing artificial intelligence/machine learning to simple text prediction algorithms. I.E statements such as "llms are basically just simple text predictions like what your phone keyboard autocorrect uses, and they're still using the same algorithms since <over 10 years ago>.

Rule 4 - No implying that models are devoid of purpose or potential for enriching peoples lives.

founded 3 years ago
MODERATORS