Fix download bootstrap for deploy
This commit is contained in:
@@ -58,7 +58,7 @@ create_pod() {
|
|||||||
mv code /usr/local/bin/ && \
|
mv code /usr/local/bin/ && \
|
||||||
rm vscode_cli.tar.gz && \
|
rm vscode_cli.tar.gz && \
|
||||||
curl -o /root/bootstrap.sh \
|
curl -o /root/bootstrap.sh \
|
||||||
-H \"Authorization: token $SIA_REPO_PAT\" \
|
-H 'Authorization: token $SIA_REPO_PAT' \
|
||||||
https://git.nielsgeens.be/llm/SIA/raw/branch/master/scripts/bootstrap.sh && \
|
https://git.nielsgeens.be/llm/SIA/raw/branch/master/scripts/bootstrap.sh && \
|
||||||
yes | code tunnel \
|
yes | code tunnel \
|
||||||
--name runpod \
|
--name runpod \
|
||||||
@@ -178,4 +178,4 @@ for gpu_type in "${GPU_CONFIGS[@]}"; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
echo "Failed to create pod after trying all GPU types and cloud options."
|
echo "Failed to create pod after trying all GPU types and cloud options."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#SIA_INSTALL_NO_WEB=1
|
#SIA_INSTALL_NO_WEB=1
|
||||||
SIA_INSTALL_NO_NOTEBOOK=1
|
#SIA_INSTALL_NO_NOTEBOOK=1
|
||||||
#SIA_INSTALL_NO_CORE=1
|
#SIA_INSTALL_NO_CORE=1
|
||||||
SIA_INSTALL_NO_ITB=1
|
#SIA_INSTALL_NO_ITB=1
|
||||||
SIA_INSTALL_NO_MISTRAL_INFER=1
|
#SIA_INSTALL_NO_MISTRAL_INFER=1
|
||||||
#SIA_INSTALL_NO_GEMMA_INFER=1
|
#SIA_INSTALL_NO_GEMMA_INFER=1
|
||||||
#SIA_INSTALL_NO_GEMMA_TRAIN=1
|
#SIA_INSTALL_NO_GEMMA_TRAIN=1
|
||||||
|
|
||||||
@@ -65,4 +65,4 @@ if ! grep -q "source /root/sia/scripts/add_venvs_to_path.sh" /etc/profile; then
|
|||||||
echo 'source /root/sia/scripts/add_venvs_to_path.sh' >> /etc/profile
|
echo 'source /root/sia/scripts/add_venvs_to_path.sh' >> /etc/profile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source /root/sia/scripts/add_venvs_to_path.sh
|
source /root/sia/scripts/add_venvs_to_path.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user