Skip to content

Commit

Permalink
Merge branch 'master' into inference
Browse files Browse the repository at this point in the history
  • Loading branch information
goliaro authored Jul 21, 2023
2 parents 02d4b20 + 7da2fdd commit d62f193
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ else
cuda_version_hyphen=""
fi

# Check that image exists
if docker image inspect "${image}-${FF_GPU_BACKEND}${cuda_version_hyphen}":latest > /dev/null || true ; then
# Check that image exists, if fails, print the default error message.
if [[ "$(docker images -q "$image"-"$FF_GPU_BACKEND""$cuda_version_hyphen":latest 2> /dev/null)" == "" ]]; then
echo ""
echo "To download the docker image, run:"
echo " FF_GPU_BACKEND=${FF_GPU_BACKEND} cuda_version=${cuda_version} $(pwd)/pull.sh $image"
Expand Down

0 comments on commit d62f193

Please sign in to comment.