This commit is contained in:
XXXXRT666 2025-04-30 23:40:24 +01:00
parent ac5ed0ad61
commit f192a5da9a
2 changed files with 6 additions and 8 deletions

View File

@ -39,6 +39,12 @@ fi
rm anaconda.sh rm anaconda.sh
source "$HOME/anaconda3/etc/profile.d/conda.sh"
"$HOME/anaconda3/bin/conda" config --add channels conda-forge
"$HOME/anaconda3/bin/conda" update --all -y
rm $LOG_PATH rm $LOG_PATH
rm -rf "$HOME/anaconda3/pkgs" rm -rf "$HOME/anaconda3/pkgs"

View File

@ -48,14 +48,6 @@ fi
source "$HOME/anaconda3/etc/profile.d/conda.sh" source "$HOME/anaconda3/etc/profile.d/conda.sh"
conda config --add channels conda-forge
conda update --all -y
rm -rf "$HOME/anaconda3/pkgs"
mkdir "$HOME/anaconda3/pkgs"
if [ "$CUDA_VERSION" = 128 ]; then if [ "$CUDA_VERSION" = 128 ]; then
pip install torch torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/cu128 pip install torch torchaudio --no-cache-dir --index-url https://download.pytorch.org/whl/cu128
elif [ "$CUDA_VERSION" = 124 ]; then elif [ "$CUDA_VERSION" = 124 ]; then