Skip to content

Commit

Permalink
Fix cpuonly test typo
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
  • Loading branch information
ezyang committed Aug 6, 2019
1 parent 50b4402 commit 9d394f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ if [[ "$package_type" == conda || "$(uname)" == Darwin ]]; then
if [[ "$cuda_ver" != 'cpu' ]]; then
retry conda install -yq cudatoolkit=$cuda_ver_majmin
else
# We DON'T want to install cpu-only, because it should not be
# We DON'T want to install cpuonly, because it should not be
# necessary for OS X PyTorch which is always cpu only by default
if [[ "$(uname)" != Darwin ]]; then
retry conda install -yq cpu-only -c pytorch
retry conda install -yq cpuonly -c pytorch
fi
fi
retry conda install -yq cffi future hypothesis mkl>=2018 ninja numpy>=1.11 protobuf pytest setuptools six typing pyyaml
Expand Down

0 comments on commit 9d394f5

Please sign in to comment.