]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
fix typo "RLIMIT_MLOCK" (#5175)
authordivinity76 <redacted>
Mon, 29 Jan 2024 14:45:41 +0000 (15:45 +0100)
committerGitHub <redacted>
Mon, 29 Jan 2024 14:45:41 +0000 (09:45 -0500)
llama.cpp

index f7d054c577aea5ecdab886a1baee2320b50a3337..45569f7d378b09cb00b4a2c9aae6279e7b963e9e 100644 (file)
--- a/llama.cpp
+++ b/llama.cpp
@@ -1158,10 +1158,10 @@ struct llama_mlock {
     #ifdef __APPLE__
         #define MLOCK_SUGGESTION \
             "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
         #define MLOCK_SUGGESTION \
-            "Try increasing RLIMIT_MLOCK ('ulimit -l' as root).\n"
+            "Try increasing RLIMIT_MEMLOCK ('ulimit -l' as root).\n"
     #endif
 
     bool raw_lock(const void * addr, size_t size) const {