Category Archives: Ollama

Set Ollama default context size on Linux

Just as simply as this: Then add the following lines (to set to 64k tokens context size): Save and exit, then restart Ollama: And you’re done: Note: Tested on Ubuntu 24.04 with Ollama 0.15 That’s it, Enjoy!

Posted in Ollama | Tagged , , , | Leave a comment