Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sorry this isn't easier!

You can enable mlock manually in the /api/generate and /api/chat endpoints by specifying the "use_mlock" option:

{“options”: {“use_mlock”: true}}

Many other sever configurations are also available there: https://github.com/ollama/ollama/blob/main/docs/api.md#reque...



I think a faq with the answers of this kind of questions could be useful for users.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: