From 2eb97ccffd195b05716bf46227b6b444f0973428 Mon Sep 17 00:00:00 2001 From: Sait Cakmak Date: Mon, 6 Nov 2023 10:21:46 -0800 Subject: [PATCH] Update test_stable.yml --- .github/workflows/test_stable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_stable.yml b/.github/workflows/test_stable.yml index 766f757993..bc1333acb8 100644 --- a/.github/workflows/test_stable.yml +++ b/.github/workflows/test_stable.yml @@ -75,7 +75,7 @@ jobs: req_txt="botorch.egg-info/requires.txt" min_torch_version=$(grep '\btorch[>=]=' ${req_txt} | sed 's/[^0-9.]//g') # HACK around the fact that pytorch does not offer a mac binary for 1.13.1 for py3.11 - TODO: Remove when bumping torch to 2.0.1 - min_torch_version="$(if ${{ min_torch_version == '1.13.1' }} && ${{ matrix.python-version == '3.11' }} && ${{ matrix.os == 'macos-latest' }}; then echo "2.0.1"; else echo "${min_torch_version}"; fi)" + min_torch_version="$(if ${{ $min_torch_version == '1.13.1' }} && ${{ matrix.python-version == '3.11' }} && ${{ matrix.os == 'macos-latest' }}; then echo "2.0.1"; else echo "${min_torch_version}"; fi)" # min_torch_version="$(if ${{ matrix.python-version == '3.11' }} && ${{ matrix.os == 'macos-latest' }}; then echo "2.0.1"; else echo "${min_torch_version}"; fi)" min_gpytorch_version=$(grep '\bgpytorch[>=]=' ${req_txt} | sed 's/[^0-9.]//g') min_linear_operator_version=$(grep '\blinear_operator[>=]=' ${req_txt} | sed 's/[^0-9.]//g')