Skip to content

Commit

Permalink
Merge branch 'inference' into prep_model_weights
Browse files Browse the repository at this point in the history
  • Loading branch information
DerrickYLJ authored Jul 21, 2023
2 parents b771046 + d62f193 commit 60a6390
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 60a6390

Please sign in to comment.