From ea22e1527e1ee7d5c085f569d5c23c28647607bb Mon Sep 17 00:00:00 2001 From: Niels Geens Date: Wed, 2 Apr 2025 14:47:33 +0000 Subject: [PATCH] Fix bug where runpod environment file overwrites PATH --- scripts/bootstrap.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 8d14cab..03ae45e 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -57,7 +57,9 @@ ln -s "/root/sia/web/dist" "/root/static" # Install SIA dependencies source "/root/sia/scripts/install.sh" -source "/etc/environment" + +# Fix runpod environment so it doesn't reset PATH +sed -i '/^export PATH/d' /etc/rp_environment ## Finetune model #echo "Finetuning model..."