File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # Copyright 2023-2024 , NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
+ # Copyright 2023-2025 , NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3
3
#
4
4
# Redistribution and use in source and binary forms, with or without
5
5
# modification, are permitted provided that the following conditions
27
27
28
28
# install conda
29
29
rm -rf ./miniconda
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
30
+ wget https://repo.anaconda.com/miniconda/Miniconda3-py312_25.7.0-2 -Linux-x86_64.sh
31
+ bash Miniconda3-py312_25.7.0-2 -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 tos accept --override-channels --channel https://repo.anaconda.com/pkgs/main
36
+ conda tos accept --override-channels --channel https://repo.anaconda.com/pkgs/r
35
37
conda create -n pt python=3.12 -y
36
38
conda activate pt
37
39
conda install -c conda-forge conda-pack -y
38
40
39
41
# pre install step
40
42
export PYTHONNOUSERSITE=True
41
- conda install -c conda-forge libstdcxx-ng=14 -y
43
+ conda install -c conda-forge libstdcxx-ng=15 -y
42
44
43
45
# install PyTorch
44
- conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia -y
46
+ conda install pytorch torchvision torchaudio pytorch-cuda=12.4 -c pytorch -c nvidia -y
45
47
46
48
# pack environment
47
49
rm -f pb_exec_env_model.py.tar.gz
You can’t perform that action at this time.
0 commit comments