Revert accidental install_requirements change

This commit is contained in:
0cc4m
2023-05-07 06:42:32 +02:00
parent 9ec50c9972
commit 51e6dcdcd4

View File

@@ -5,14 +5,14 @@ if [[ $1 = "cuda" || $1 = "CUDA" ]]; then
wget -qO- https://micromamba.snakepit.net/api/micromamba/linux-64/latest | tar -xvj bin/micromamba wget -qO- https://micromamba.snakepit.net/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
bin/micromamba create -f environments/huggingface.yml -r runtime -n koboldai -y bin/micromamba create -f environments/huggingface.yml -r runtime -n koboldai -y
# Weird micromamba bug causes it to fail the first time, running it twice just to be safe, the second time is much faster # Weird micromamba bug causes it to fail the first time, running it twice just to be safe, the second time is much faster
# bin/micromamba create -f environments/huggingface.yml -r runtime -n koboldai -y bin/micromamba create -f environments/huggingface.yml -r runtime -n koboldai -y
exit exit
fi fi
if [[ $1 = "rocm" || $1 = "ROCM" ]]; then if [[ $1 = "rocm" || $1 = "ROCM" ]]; then
wget -qO- https://micromamba.snakepit.net/api/micromamba/linux-64/latest | tar -xvj bin/micromamba wget -qO- https://micromamba.snakepit.net/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
bin/micromamba create -f environments/rocm.yml -r runtime -n koboldai-rocm -y bin/micromamba create -f environments/rocm.yml -r runtime -n koboldai-rocm -y
# Weird micromamba bug causes it to fail the first time, running it twice just to be safe, the second time is much faster # Weird micromamba bug causes it to fail the first time, running it twice just to be safe, the second time is much faster
# bin/micromamba create -f environments/rocm.yml -r runtime -n koboldai-rocm -y bin/micromamba create -f environments/rocm.yml -r runtime -n koboldai-rocm -y
exit exit
fi fi
echo Please specify either CUDA or ROCM echo Please specify either CUDA or ROCM