Updated install.sh to adapt to 1.0.1

This commit is contained in:
Pelochus
2024-05-09 16:59:32 +02:00
parent 16aece7c01
commit e18f209b65

View File

@@ -30,7 +30,7 @@ cp ./rkllm-runtime/runtime/Linux/librkllm_api/include/* /usr/local/include
message_print "Compiling LLM runtime for Linux..." message_print "Compiling LLM runtime for Linux..."
cd ./rkllm-runtime/example cd ./rkllm-runtime/examples/rkllm_api_demo/
bash build-linux.sh bash build-linux.sh
message_print "Moving rkllm to /usr/bin..." message_print "Moving rkllm to /usr/bin..."
@@ -42,4 +42,8 @@ message_print "Increasing file limit for all users (needed for LLMs to run)..."
echo "* soft nofile 16384" >> /etc/security/limits.conf echo "* soft nofile 16384" >> /etc/security/limits.conf
echo "* hard nofile 1048576" >> /etc/security/limits.conf echo "* hard nofile 1048576" >> /etc/security/limits.conf
# Add root too, just in case
echo "root soft nofile 16384" >> /etc/security/limits.conf
echo "root hard nofile 1048576" >> /etc/security/limits.conf
message_print "Done installing ezrknn-llm!" message_print "Done installing ezrknn-llm!"