From 95484d3247c75eed4bb07dda78c938dfc69f7745 Mon Sep 17 00:00:00 2001 From: fm466 Date: Wed, 6 Dec 2023 19:37:23 -0500 Subject: [PATCH] base llm hosting main script changes --- llm_hosting/base_llm/main.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/llm_hosting/base_llm/main.sh b/llm_hosting/base_llm/main.sh index 3caaa57..685974a 100755 --- a/llm_hosting/base_llm/main.sh +++ b/llm_hosting/base_llm/main.sh @@ -1,12 +1,10 @@ export ILABSERVER=$1 -original_dir=$(pwd) if [ "$2" = "setup" ]; then echo "running setup" cd setup rm setup.log - ssh $ILABSERVER /common/home/$USER/Persona-LLM-Chatbot-For-QA/llm_hosting/base_llm/setup/setup.sh > setup.log 2>&1 & + ssh $ILABSERVER /common/home/$USER/Persona-LLM-Chatbot-For-QA/llm_hosting/base_llm/setup/setup_repos.sh > setup.log 2>&1 echo "setup completed" - cd "$original_dir" elif [ "$2" = "build" ]; then echo "running build" cd build @@ -14,7 +12,6 @@ elif [ "$2" = "build" ]; then export PATH=/usr/local/cuda/bin:$PATH srun --nodelist=$ILABSERVER -G 1 -o build.log build_llamacpp.sh echo "build completed" - cd "$original_dir" elif [ "$2" = "inference" ]; then echo "running inference server" cd inference