Use aria2 to download split checkpoints

This commit is contained in:
Gnome Ann
2022-05-10 21:28:13 -04:00
parent 7fcc1a9acb
commit a388c63023
3 changed files with 106 additions and 2 deletions

View File

@@ -162,7 +162,7 @@ if [ "$init" != "skip" ]; then
fi
# Make sure Colab has the system dependencies
sudo apt install netbase -y
sudo apt install netbase aria2 -y
npm install -g localtunnel
fi
@@ -186,7 +186,6 @@ fi
#Download routine for Aria2c scripts
if [ ! -z ${aria2+x} ]; then
apt install aria2 -y
curl -L $aria2 | aria2c -c -i- -d$dloc --user-agent=KoboldAI --file-allocation=none
fi