Skip to content

Commit 44d84bd

Browse files
authored
Update the Conda installation command to match the latest from PyTorch (#129)
1 parent 95128b2 commit 44d84bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gen_pb_exec_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export PYTHONNOUSERSITE=True
4141
conda install -c conda-forge libstdcxx-ng=12 -y
4242

4343
# install PyTorch
44-
conda install pytorch torchvision torchaudio pytorch-cuda -c pytorch -c nvidia -y
44+
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia -y
4545

4646
# pack environment
4747
rm -f pb_exec_env_model.py.tar.gz

0 commit comments

Comments
 (0)