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 09993b2 commit 2982dda
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 CUDA support"
if [ -z "${MOLPOTENABLECUDA}" ]; then
echo "Installing pytorch with ${MOLPOTENABLECUDA} 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 2982dda

Please sign in to comment.