No File Allocation

Why allocate the space for a file we are downloading if there is no chance we run out of space?
This commit is contained in:
henk717 2022-01-17 06:12:53 +01:00 committed by GitHub
parent e69c76c397
commit 01b4e0f945
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ fi
#Download routine for Aria2c scripts #Download routine for Aria2c scripts
if [ ! -z ${aria2+x} ]; then if [ ! -z ${aria2+x} ]; then
apt install aria2 -y apt install aria2 -y
curl -L $aria2 | aria2c -c -i- -d$dloc --user-agent=KoboldAI curl -L $aria2 | aria2c -c -i- -d$dloc --user-agent=KoboldAI --file-allocation=none
fi fi
#Extract the model with 7z #Extract the model with 7z