mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-13 14:29:52 +00:00
fix typo "RLIMIT_MLOCK" (#5175)
This commit is contained in:
parent
c82d18e863
commit
2aed77eb06
@ -1158,10 +1158,10 @@ struct llama_mlock {
|
|||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#define MLOCK_SUGGESTION \
|
#define MLOCK_SUGGESTION \
|
||||||
"Try increasing the sysctl values 'vm.user_wire_limit' and 'vm.global_user_wire_limit' and/or " \
|
"Try increasing the sysctl values 'vm.user_wire_limit' and 'vm.global_user_wire_limit' and/or " \
|
||||||
"decreasing 'vm.global_no_user_wire_amount'. Also try increasing RLIMIT_MLOCK (ulimit -l).\n"
|
"decreasing 'vm.global_no_user_wire_amount'. Also try increasing RLIMIT_MEMLOCK (ulimit -l).\n"
|
||||||
#else
|
#else
|
||||||
#define MLOCK_SUGGESTION \
|
#define MLOCK_SUGGESTION \
|
||||||
"Try increasing RLIMIT_MLOCK ('ulimit -l' as root).\n"
|
"Try increasing RLIMIT_MEMLOCK ('ulimit -l' as root).\n"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool raw_lock(const void * addr, size_t size) const {
|
bool raw_lock(const void * addr, size_t size) const {
|
||||||
|
Loading…
Reference in New Issue
Block a user