Skip to content

Instantly share code, notes, and snippets.

@ben-alkov
Created March 10, 2024 17:30
Show Gist options
  • Save ben-alkov/3f9ff6b3b5d30352b6db7c3dcbcdf609 to your computer and use it in GitHub Desktop.
Save ben-alkov/3f9ff6b3b5d30352b6db7c3dcbcdf609 to your computer and use it in GitHub Desktop.
Fix for llama.cpp can't memlock enough RAM
Append to '/etc/security/limits.conf'
`* - memlock 23600000`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment