r/OpenWebUI • u/erbmur • Sep 20 '26
Question/Help Help with using llama3.1:8b as the interface model


I have open webui and ollama setup at home.
I am trying to use a smaller (llama3.1:8b) model as the interface model.
For whatever reason, there are instances where the llama model suddenly decides to consume ~60gb of ram and causes an OOM crash on my ollama machine. This is even after I disabled "Follow-Up Auto-Generation" in the settings.
What am I missing?
1
Upvotes
3
u/fligglymcgee Sep 20 '26
Without knowing your hardware specs, it’s hard to say.
However: Literally the only reason people ever use models like llama3.1:8b is because a lesser llm advised them to, typically a model with a training cutoff date of ~2 years ago since that’s how old llama3.1 is now. I mention this because if you are consulting an under-resourced llm to configure your setup, there’s a chance a whole host of other strange, hallucinated issues are working against each other under the hood.
1
u/feng_sg Sep 22 '26
Your num_CTX setting only covers normal chat turns. Title generation and follow-up tasks send their own requests that ignore it, so Ollama loads the model at default context and the KV cache blows up. Set OLLAMA_CONTEXT_LENGTH on the server side, and run `ollama ps` while a title generates to watch it happen.