llama.cpp icon indicating copy to clipboard operation
llama.cpp copied to clipboard

Fixed rlimit error message.

Open apaz-cli opened this issue 1 year ago • 1 comments

Currently, llama_mlock::raw_lock() tells you to raise rlimit -l no matter what actually caused mlock() to fail. This change verifies that is indeed the issue before printing a potentially misleading error message.

apaz-cli avatar Apr 11 '23 00:04 apaz-cli

Any updates or feedback on this @ggerganov?

apaz-cli avatar Apr 19 '23 05:04 apaz-cli