Skip to content

Commit

Permalink
Set ALLOW_LATEST_GPYTORCH_LINOP: true in CI using latest BoTorch + GP…
Browse files Browse the repository at this point in the history
…yTorch (#1351)

Summary:
Without this, it'll fail if latest BoTorch depends on latest GPyTorch or LinearOperator

Pull Request resolved: #1351

Reviewed By: mpolson64

Differential Revision: D42282063

Pulled By: saitcakmak

fbshipit-source-id: c85478ced79bd4f8c63fb4a1fe9c0bf57e2abde3
  • Loading branch information
saitcakmak authored and facebook-github-bot committed Dec 29, 2022
1 parent 9b8df90 commit b0958dd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- name: Install dependencies
env:
ALLOW_BOTORCH_LATEST: true
ALLOW_LATEST_GPYTORCH_LINOP: true
run: |
# use latest Botorch
pip install git+https://github.com/cornellius-gp/gpytorch.git
Expand Down Expand Up @@ -76,6 +77,7 @@ jobs:
- name: Install dependencies
env:
ALLOW_BOTORCH_LATEST: true
ALLOW_LATEST_GPYTORCH_LINOP: true
run: |
# use latest Botorch
pip install git+https://github.com/cornellius-gp/gpytorch.git
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- name: Install dependencies (full requirements, Botorch main)
env:
ALLOW_BOTORCH_LATEST: true
ALLOW_LATEST_GPYTORCH_LINOP: true
run: |
pip install git+https://github.com/cornellius-gp/gpytorch.git
pip install git+https://github.com/pytorch/botorch.git
Expand All @@ -48,6 +49,7 @@ jobs:
- name: Install dependencies (minimal requirements, Botorch main)
env:
ALLOW_BOTORCH_LATEST: true
ALLOW_LATEST_GPYTORCH_LINOP: true
run: |
pip install git+https://github.com/cornellius-gp/gpytorch.git
pip install git+https://github.com/pytorch/botorch.git
Expand Down Expand Up @@ -79,6 +81,7 @@ jobs:
- name: Install dependencies
env:
ALLOW_BOTORCH_LATEST: true
ALLOW_LATEST_GPYTORCH_LINOP: true
run: |
# use latest BoTorch
pip install git+https://github.com/cornellius-gp/gpytorch.git
Expand All @@ -105,6 +108,7 @@ jobs:
- name: Install dependencies
env:
ALLOW_BOTORCH_LATEST: true
ALLOW_LATEST_GPYTORCH_LINOP: true
run: |
# use latest BoTorch
pip install git+https://github.com/cornellius-gp/gpytorch.git
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- name: Install dependencies (latest Botorch)
env:
ALLOW_BOTORCH_LATEST: true
ALLOW_LATEST_GPYTORCH_LINOP: true
run: |
# use latest Botorch
pip install git+https://github.com/cornellius-gp/gpytorch.git
Expand Down

0 comments on commit b0958dd

Please sign in to comment.