From 661d3a90d28d589853cf33473e06e268286a96a1 Mon Sep 17 00:00:00 2001 From: Angel-HF <49835792+Pelochus@users.noreply.github.com> Date: Sat, 13 Apr 2024 12:07:06 +0200 Subject: [PATCH] Fix one message_print and added permanent ulimit --- install.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index b7eb11c..d47434b 100644 --- a/install.sh +++ b/install.sh @@ -33,8 +33,12 @@ message_print "Compiling LLM runtime for Linux..." cd ./rkllm-runtime/example bash build-linux.sh -message_pint "Moving rkllm to /usr/bin..." +message_print "Moving rkllm to /usr/bin..." -cp ./build/build_aarch64_Release/llm_demo /usr/bin/rkllm # We also change the name for remembering how to call it from shell +cp ./build/build_aarch64_Release/llm_demo /usr/bin/rkllm # We also change the name for remembering how to call it from shell + +message_print "Increasing file limit for all users (needed for LLMs to run)..." + +echo "* soft nofile 16192" >> /etc/security/limit.conf message_print "Done installing ezrknn-llm!"