Skip to content

Commit

Permalink
making sure that CUDA is set properly
Browse files Browse the repository at this point in the history
  • Loading branch information
briedel committed Sep 29, 2022
1 parent 907241c commit df5287c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyglidein/glidein_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ if [ $GPUS != 0 ]; then
else
if [ $GPUS = 1 ]; then
GPU2=$(nvidia-smi --query-gpu=index --format=csv,noheader);
GPUS=CUDA$GPU2;
else
GPU2=$(echo "$GPUS"|sed 's/CUDA//g'|sed 's/OCL//g');
fi
Expand Down

0 comments on commit df5287c

Please sign in to comment.