Skip to content

Commit

Permalink
Remove the version constraint of GPyTorch
Browse files Browse the repository at this point in the history
  • Loading branch information
nzw0301 committed Sep 12, 2022
1 parent 79f0329 commit be8f229
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ jobs:
# TODO(nzw): Move `run` part to the end of `Install` after Optuna drops Python 3.6 support.
- name: Install PyTorch and BoTorch.
# TODO(nzw0301): Remove gpytorch if botorch supports gpytorch>1.8.
run: pip install botorch "gpytorch<1.9.0" torch==1.11.0 --extra-index-url https://download.pytorch.org/whl/cpu
run: pip install botorch torch==1.11.0 --extra-index-url https://download.pytorch.org/whl/cpu
if: matrix.python-version != '3.6'

- name: Tests
Expand Down
4 changes: 0 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ def get_extras_require() -> Dict[str, List[str]]:
"asv>=0.5.0",
"botorch",
"cma",
# TODO(nzw0301): Remove gpytorch if botorch supports gpytorch>1.8.
"gpytorch<1.9.0",
"scikit-optimize",
"virtualenv",
],
Expand Down Expand Up @@ -102,8 +100,6 @@ def get_extras_require() -> Dict[str, List[str]]:
"chainer>=5.0.0",
"cma",
"fastai ; python_version>'3.6'",
# TODO(nzw0301): Remove gpytorch if botorch supports gpytorch>1.8.
"gpytorch<1.9.0 ; python_version>'3.6'",
"lightgbm",
"mlflow",
"mpi4py",
Expand Down

0 comments on commit be8f229

Please sign in to comment.