diff --git a/install.sh b/install.sh index 4ad5ed5..71a4c9b 100644 --- a/install.sh +++ b/install.sh @@ -39,6 +39,7 @@ cp ./build/build_aarch64_Release/llm_demo /usr/bin/rkllm # We also change the na message_print "Increasing file limit for all users (needed for LLMs to run)..." -echo "* soft nofile 8096" >> /etc/security/limit.conf +echo "* soft nofile 8096" >> /etc/security/limits.conf +echo "* hard nofile 1048576" >> /etc/security/limits.conf message_print "Done installing ezrknn-llm!" diff --git a/rkllm-runtime/example/build-linux.sh b/rkllm-runtime/example/build-linux.sh old mode 100644 new mode 100755