Skip to content

Commit 993ff39

Browse files
Balandatfacebook-github-bot
authored andcommitted
Pin gpytorch to 1.8.1 after LinearOperator PR merge (#1362)
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
1 parent 214cbec commit 993ff39

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

.conda/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ requirements:
1818
- setuptools_scm
1919
run:
2020
- pytorch >=1.10
21-
- gpytorch >=1.8.1
21+
- gpytorch ==1.8.1
2222
- scipy
2323
- pyro-ppl >=1.8.0
2424

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
python-version: 3.7
2424
- name: Install dependencies
2525
run: |
26-
pip install git+https://github.com/cornellius-gp/gpytorch.git
26+
pip install "gpytorch==1.8.1"
2727
pip install .[dev]
2828
# NOTE: nbconvert 6.4.4 is incompatible with jinja2 3.1.0.
2929
# We can unpin this with a future release of nbconvert.

.github/workflows/nightly.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
pip install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
28-
pip install git+https://github.com/cornellius-gp/gpytorch.git
28+
pip install "gpytorch==1.8.1"
2929
pip install .[test]
3030
- name: Unit tests and coverage
3131
run: |
@@ -51,7 +51,7 @@ jobs:
5151
- name: Install dependencies
5252
run: |
5353
pip install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
54-
pip install git+https://github.com/cornellius-gp/gpytorch.git
54+
pip install "gpytorch==1.8.1"
5555
pip install .[test]
5656
pip install --upgrade build setuptools setuptools_scm wheel
5757
- name: Extract reduced version and save to env var
@@ -98,7 +98,7 @@ jobs:
9898
conda config --set anaconda_upload no
9999
conda install -y -c pytorch-nightly pytorch cpuonly
100100
conda install -y -c conda-forge pyro-ppl>=1.8.0
101-
pip install git+https://github.com/cornellius-gp/gpytorch.git
101+
pip install "gpytorch==1.8.1"
102102
- name: Build and verify conda package
103103
shell: bash -l {0}
104104
run: |
@@ -120,7 +120,7 @@ jobs:
120120
run: git fetch --prune --unshallow
121121
- name: Install dependencies
122122
run: |
123-
pip install git+https://github.com/cornellius-gp/gpytorch.git
123+
pip install "gpytorch==1.8.1"
124124
pip install .[dev]
125125
pip install git+https://github.com/facebook/Ax.git
126126
# NOTE: nbconvert 6.4.4 is incompatible with jinja2 3.1.0.

.github/workflows/reusable_tutorials.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
name: Install latest PyTorch & GPyTorch
3434
run: |
3535
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
36-
pip install git+https://github.com/cornellius-gp/gpytorch.git
36+
pip install "gpytorch==1.8.1"
3737
- if: ${{ inputs.use_stable_pytorch_gpytorch }}
3838
name: Install min required PyTorch & GPyTorch
3939
run: |

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Install dependencies
2828
run: |
2929
pip install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
30-
pip install git+https://github.com/cornellius-gp/gpytorch.git
30+
pip install "gpytorch==1.8.1"
3131
pip install .[test]
3232
- name: Unit tests and coverage
3333
run: |
@@ -57,7 +57,7 @@ jobs:
5757
run: |
5858
conda install -y -c pytorch-nightly pytorch cpuonly
5959
conda install -y pip scipy sphinx pytest flake8
60-
pip install git+https://github.com/cornellius-gp/gpytorch.git
60+
pip install "gpytorch==1.8.1"
6161
pip install .[test]
6262
- name: Unit tests
6363
shell: bash -l {0}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Optimization simply use Ax.
5757
**Installation Requirements**
5858
- Python >= 3.7
5959
- PyTorch >= 1.10
60-
- gpytorch >= 1.8.1
60+
- gpytorch == 1.8.1
6161
- pyro-ppl >= 1.8.0
6262
- scipy
6363
- multiple-dispatch

docs/getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Before jumping the gun, we recommend you start with the high-level
1515

1616
- Python >= 3.7
1717
- PyTorch >= 1.10
18-
- gpytorch >= 1.8.1
18+
- gpytorch == 1.8.1
1919
- scipy
2020
- multiple-dispatch
2121
- pyro-ppl >= 1.8.0

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ channels:
55
- conda-forge
66
dependencies:
77
- pytorch>=1.10
8-
- gpytorch>=1.8.1
8+
- gpytorch==1.8.1
99
- scipy
1010
- pyro-ppl>=1.8.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
packages=find_packages(exclude=["test", "test.*"]),
8383
install_requires=[
8484
"torch>=1.10",
85-
"gpytorch>=1.8.1",
85+
"gpytorch==1.8.1",
8686
"scipy",
8787
"multipledispatch",
8888
"pyro-ppl>=1.8.0",

0 commit comments

Comments
 (0)