Skip to content

Commit 9d90635

Browse files
saitcakmakfacebook-github-bot
authored andcommitted
Use latest gpytorch & linear operator in tutorials workflow (#1482)
Summary: Title. Current implementation was setting the environment variable on the wrong step Pull Request resolved: #1482 Reviewed By: SebastianAment Differential Revision: D41106719 Pulled By: saitcakmak fbshipit-source-id: b231148a74eae74e71448a60866786ea5e39eefc
1 parent f0711fc commit 9d90635

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/reusable_tutorials.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ jobs:
3131
run: git fetch --prune --unshallow
3232
- if: ${{ !inputs.use_stable_pytorch_gpytorch }}
3333
name: Install latest PyTorch & GPyTorch
34-
env:
35-
ALLOW_LATEST_GPYTORCH_LINOP: true
3634
run: |
3735
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
3836
pip install git+https://github.com/cornellius-gp/linear_operator.git
@@ -50,15 +48,19 @@ jobs:
5048
env:
5149
# This is so Ax's setup doesn't install a pinned BoTorch version.
5250
ALLOW_BOTORCH_LATEST: true
51+
ALLOW_LATEST_GPYTORCH_LINOP: true
5352
run: |
5453
pip install git+https://github.com/facebook/Ax.git
5554
- if: ${{ inputs.use_stable_ax }}
5655
name: Install stable Ax
5756
env:
5857
ALLOW_BOTORCH_LATEST: true
58+
ALLOW_LATEST_GPYTORCH_LINOP: true
5959
run: |
6060
pip install ax-platform --no-binary ax-platform
6161
- name: Install BoTorch with tutorials dependencies
62+
env:
63+
ALLOW_LATEST_GPYTORCH_LINOP: true
6264
run: |
6365
pip install .[tutorials]
6466
- if: ${{ inputs.smoke_test }}

0 commit comments

Comments
 (0)