Skip to content

Commit

Permalink
Update the Conda installation command to match the latest from PyTorch
Browse files Browse the repository at this point in the history
  • Loading branch information
kthui committed May 7, 2024
1 parent 95128b2 commit d01c4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/gen_pb_exec_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export PYTHONNOUSERSITE=True
conda install -c conda-forge libstdcxx-ng=12 -y

# install PyTorch
conda install pytorch torchvision torchaudio pytorch-cuda -c pytorch -c nvidia -y
conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia -y

# pack environment
rm -f pb_exec_env_model.py.tar.gz
Expand Down

0 comments on commit d01c4ec

Please sign in to comment.