Skip to content

Commit

Permalink
Merge pull request pytorch#272 from pjh5/smoke_fix
Browse files Browse the repository at this point in the history
Turn off check for specific CUDA version in conda smokes
  • Loading branch information
pjh5 authored Feb 22, 2019
2 parents 6ccafde + 292217b commit 996c74c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions smoke_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,9 @@ if [[ "$PACKAGE_TYPE" == 'conda' ]]; then
echo "The installed package is built for CUDA:: $(conda list torch)"
exit 1
fi
elif [[ -z "$(conda list torch | grep -o cuda$cuda_dot)" ]]; then
echo "The installed package doesn't seem to be built for CUDA $cuda_dot"
elif [[ -z "$(conda list torch | grep -o cudnn)" ]]; then
echo "The installed package doesn't seem to be built for CUDA"
echo "We expect a cudnn version in the build string"
echo "The full package is $(conda list torch)"
exit 1
fi
Expand Down

0 comments on commit 996c74c

Please sign in to comment.