Fix install script, use correct venvs for jupyter

This commit is contained in:
Niels Geens
2025-04-07 11:36:41 +02:00
parent ead5c35a09
commit 9c2d38e1a6
2 changed files with 3 additions and 2 deletions

View File

@@ -82,6 +82,7 @@ while [ true ]; do
# Check both STATUS RUNNING (with two spaces) and STATUS RUNNING (with one space) # Check both STATUS RUNNING (with two spaces) and STATUS RUNNING (with one space)
if echo "$output" | grep -q "STATUS *RUNNING" || echo "$output" | grep -q "RUNNING"; then if echo "$output" | grep -q "STATUS *RUNNING" || echo "$output" | grep -q "RUNNING"; then
echo "Pod is now running!" echo "Pod is now running!"
echo "https://www.runpod.io/console/pods"
break break
fi fi
done done

View File

@@ -3,7 +3,7 @@
echo "Installing ITB tool..." echo "Installing ITB tool..."
python3 -m venv /root/venvs/itb python3 -m venv /root/venvs/itb
/root/venvs/itb/bin/pip install -e /root/sia/tools/itb /root/venvs/itb/bin/pip install -e /root/sia/tools/itb
/root/venvs/train/bin/ipython kernel install --name=itb /root/venvs/itb/bin/ipython kernel install --name=itb
echo "Installing Train tool..." echo "Installing Train tool..."
python3 -m venv /root/venvs/train python3 -m venv /root/venvs/train
@@ -13,4 +13,4 @@ python3 -m venv /root/venvs/train
echo "Installing SIA core..." echo "Installing SIA core..."
python3 -m venv /root/venvs/sia python3 -m venv /root/venvs/sia
/root/venvs/sia/bin/pip install -e /root/sia /root/venvs/sia/bin/pip install -e /root/sia
/root/venvs/train/bin/ipython kernel install --name=sia /root/venvs/sia/bin/ipython kernel install --name=sia