llama.cpp
llama.cpp copied to clipboard
Fixed rlimit error message.
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.
Any updates or feedback on this @ggerganov?