From 72b902117cb98887e369e90b4daea4846bae602a Mon Sep 17 00:00:00 2001 From: Geens Date: Thu, 1 May 2025 09:26:29 +0200 Subject: [PATCH] Simplified bootstrap even more --- scripts/bootstrap.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 0abe00a..70a6930 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -4,8 +4,6 @@ #SIA_INSTALL_NO_TRAIN=1 #SIA_INSTALL_NO_NOTEBOOK=1 #SIA_INSTALL_NO_CORE=1 -#SIA_BOOTSTRAP_NO_TRAIN=1 -#SIA_BOOTSTRAP_NO_START=1 trap 'return 1' ERR @@ -106,14 +104,14 @@ fi source /root/sia/scripts/add_venvs_to_path.sh # Finetune model -if [ -z "${SIA_BOOTSTRAP_NO_TRAIN}" ]; then +if [ -z "${SIA_INSTALL_NO_TRAIN}" ]; then echo "Finetuning model..." train /root/models/bootstrap ln -s /root/models/bootstrap /root/models/current fi # Start SIA using restart script -if [ -z "${SIA_BOOTSTRAP_NO_START}" ]; then +if [ -z "${SIA_INSTALL_NO_CORE}" ]; then echo "Run restart script..." "/root/sia/scripts/restart.sh" fi \ No newline at end of file