From 9d394f53f4d0a4b651d0cf7f10647e3c689083b8 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Tue, 6 Aug 2019 12:49:09 -0400 Subject: [PATCH] Fix cpuonly test typo Signed-off-by: Edward Z. Yang --- run_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_tests.sh b/run_tests.sh index b18d95192..57167ed5d 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -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