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 27
27
28
28
# install conda
29
29
rm -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
32
32
eval " $( ./miniconda/bin/conda shell.bash hook) "
33
33
34
34
# create conda environment
35
- conda create -n pt python=3.10 -y
35
+ conda create -n pt python=3.12 -y
36
36
conda activate pt
37
37
conda install -c conda-forge conda-pack -y
38
38
39
39
# pre install step
40
40
export PYTHONNOUSERSITE=True
41
- conda install -c conda-forge libstdcxx-ng=12 -y
41
+ conda install -c conda-forge libstdcxx-ng=14 -y
42
42
43
43
# install PyTorch
44
44
conda 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
49
49
50
50
# deactivate conda
51
51
conda deactivate
52
- conda deactivate
You can’t perform that action at this time.
0 commit comments