Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy-Kid authored Dec 2, 2024
1 parent 2982dda commit e28f88c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/features/molpot/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ echo "Activating feature 'pytorch'"

which pip > /dev/null || (apt update && apt install python3-pip -y -qq)

if [ -z "${MOLPOTENABLECUDA}" ]; then
echo "Installing pytorch with ${MOLPOTENABLECUDA} support"
if [ "${PYTORCHCUDAVERSION}" ]; then
echo "Installing pytorch with ${PYTORCHCUDAVERSION} support"
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/${PYTORCHCUDAVERSION}
echo "Pytorch with CUDA support installed!"
else
Expand Down

0 comments on commit e28f88c

Please sign in to comment.