From 9bad91bb5522471adf23ce025807cdb00a3008f3 Mon Sep 17 00:00:00 2001 From: Wei Kang Date: Tue, 26 Sep 2023 20:04:49 +0800 Subject: [PATCH] fix install torch (#1247) --- scripts/github_actions/install_torch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/github_actions/install_torch.sh b/scripts/github_actions/install_torch.sh index 84eef395f..689ff58e8 100755 --- a/scripts/github_actions/install_torch.sh +++ b/scripts/github_actions/install_torch.sh @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -if [ $TORCH_VERSION != "" ] && [ $CUDA_VERSION != ""]; then +if [ $TORCH_VERSION != "" ] && [ $CUDA_VERSION != "" ]; then torch=$TORCH_VERSION cuda=$CUDA_VERSION fi