Skip to content

Commit 45b2de1

Browse files
author
Matt Crane
committed
Fix for GPU setting detection
1 parent ca6cb5a commit 45b2de1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ if [[ $1 = "all" || $1 = "gpu" || $1 = "seeds-gpu" || $1 = "seeds" ]]; then
9696
GPU_RUNTIME=--runtime=nvidia
9797
fi
9898

99-
if [[ "$GPU_DOCKER" -eq "" && "$GPU_RUNTIME" -eq "" ]]; then
99+
if [[ -z "$GPU_DOCKER" && -z "$GPU_RUNTIME" ]]; then
100100
echo No suitable GPU runtime found, skipping GPU experiments
101101
exit
102102
fi

0 commit comments

Comments
 (0)