Fixed ulimits and changed build permissions

This commit is contained in:
Pelochus
2024-04-14 20:32:28 +00:00
parent 593981d677
commit 1a47ee3744
2 changed files with 2 additions and 1 deletions

View File

@@ -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!"

0
rkllm-runtime/examples/rkllm_api_demo/build-linux.sh Normal file → Executable file
View File