Skip to content

Commit

Permalink
Pin gpytorch to 1.8.1 after LinearOperator PR merge (#1362)
Browse files Browse the repository at this point in the history
Summary:
cornellius-gp/gpytorch#2027 was a massive change to gpytorch and broke our CI (and other things).
This PR pins gpytorch to the release made right prior to this being merged in to give us some time to fix these.

Pull Request resolved: #1362

Reviewed By: saitcakmak

Differential Revision: D38928817

Pulled By: Balandat

fbshipit-source-id: 7bd3a6009bde43099a9456b1fd1a08f524a8e377
  • Loading branch information
Balandat authored and facebook-github-bot committed Aug 23, 2022
1 parent 214cbec commit 993ff39
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ requirements:
- setuptools_scm
run:
- pytorch >=1.10
- gpytorch >=1.8.1
- gpytorch ==1.8.1
- scipy
- pyro-ppl >=1.8.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
python-version: 3.7
- name: Install dependencies
run: |
pip install git+https://github.com/cornellius-gp/gpytorch.git
pip install "gpytorch==1.8.1"
pip install .[dev]
# NOTE: nbconvert 6.4.4 is incompatible with jinja2 3.1.0.
# We can unpin this with a future release of nbconvert.
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install dependencies
run: |
pip install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
pip install git+https://github.com/cornellius-gp/gpytorch.git
pip install "gpytorch==1.8.1"
pip install .[test]
- name: Unit tests and coverage
run: |
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Install dependencies
run: |
pip install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
pip install git+https://github.com/cornellius-gp/gpytorch.git
pip install "gpytorch==1.8.1"
pip install .[test]
pip install --upgrade build setuptools setuptools_scm wheel
- name: Extract reduced version and save to env var
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
conda config --set anaconda_upload no
conda install -y -c pytorch-nightly pytorch cpuonly
conda install -y -c conda-forge pyro-ppl>=1.8.0
pip install git+https://github.com/cornellius-gp/gpytorch.git
pip install "gpytorch==1.8.1"
- name: Build and verify conda package
shell: bash -l {0}
run: |
Expand All @@ -120,7 +120,7 @@ jobs:
run: git fetch --prune --unshallow
- name: Install dependencies
run: |
pip install git+https://github.com/cornellius-gp/gpytorch.git
pip install "gpytorch==1.8.1"
pip install .[dev]
pip install git+https://github.com/facebook/Ax.git
# NOTE: nbconvert 6.4.4 is incompatible with jinja2 3.1.0.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
name: Install latest PyTorch & GPyTorch
run: |
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
pip install git+https://github.com/cornellius-gp/gpytorch.git
pip install "gpytorch==1.8.1"
- if: ${{ inputs.use_stable_pytorch_gpytorch }}
name: Install min required PyTorch & GPyTorch
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install dependencies
run: |
pip install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
pip install git+https://github.com/cornellius-gp/gpytorch.git
pip install "gpytorch==1.8.1"
pip install .[test]
- name: Unit tests and coverage
run: |
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
run: |
conda install -y -c pytorch-nightly pytorch cpuonly
conda install -y pip scipy sphinx pytest flake8
pip install git+https://github.com/cornellius-gp/gpytorch.git
pip install "gpytorch==1.8.1"
pip install .[test]
- name: Unit tests
shell: bash -l {0}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Optimization simply use Ax.
**Installation Requirements**
- Python >= 3.7
- PyTorch >= 1.10
- gpytorch >= 1.8.1
- gpytorch == 1.8.1
- pyro-ppl >= 1.8.0
- scipy
- multiple-dispatch
Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Before jumping the gun, we recommend you start with the high-level

- Python >= 3.7
- PyTorch >= 1.10
- gpytorch >= 1.8.1
- gpytorch == 1.8.1
- scipy
- multiple-dispatch
- pyro-ppl >= 1.8.0
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ channels:
- conda-forge
dependencies:
- pytorch>=1.10
- gpytorch>=1.8.1
- gpytorch==1.8.1
- scipy
- pyro-ppl>=1.8.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
packages=find_packages(exclude=["test", "test.*"]),
install_requires=[
"torch>=1.10",
"gpytorch>=1.8.1",
"gpytorch==1.8.1",
"scipy",
"multipledispatch",
"pyro-ppl>=1.8.0",
Expand Down

0 comments on commit 993ff39

Please sign in to comment.