File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 2727
2828# install conda
2929rm -rf ./miniconda
30- wget https://repo.anaconda.com/miniconda/Miniconda3-py310_23.3.1 -0-Linux-x86_64.sh
31- bash Miniconda3-py310_23.3.1 -0-Linux-x86_64.sh -p ./miniconda -b
30+ wget https://repo.anaconda.com/miniconda/Miniconda3-py312_24.9.2 -0-Linux-x86_64.sh
31+ bash Miniconda3-py312_24.9.2 -0-Linux-x86_64.sh -p ./miniconda -b
3232eval " $( ./miniconda/bin/conda shell.bash hook) "
3333
3434# create conda environment
35- conda create -n pt python=3.10 -y
35+ conda create -n pt python=3.12 -y
3636conda activate pt
3737conda install -c conda-forge conda-pack -y
3838
3939# pre install step
4040export PYTHONNOUSERSITE=True
41- conda install -c conda-forge libstdcxx-ng=12 -y
41+ conda install -c conda-forge libstdcxx-ng=14 -y
4242
4343# install PyTorch
4444conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia -y
@@ -49,4 +49,3 @@ conda pack -o pb_exec_env_model.py.tar.gz
4949
5050# deactivate conda
5151conda deactivate
52- conda deactivate
You can’t perform that action at this time.
0 commit comments