From e18f209b65e8c374db649a33efe6572447b816fb Mon Sep 17 00:00:00 2001 From: Pelochus Date: Thu, 9 May 2024 16:59:32 +0200 Subject: [PATCH] Updated install.sh to adapt to 1.0.1 --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 80f56a9..8925812 100644 --- a/install.sh +++ b/install.sh @@ -30,7 +30,7 @@ cp ./rkllm-runtime/runtime/Linux/librkllm_api/include/* /usr/local/include message_print "Compiling LLM runtime for Linux..." -cd ./rkllm-runtime/example +cd ./rkllm-runtime/examples/rkllm_api_demo/ bash build-linux.sh 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 "* 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!"