Skip to content

Commit

Permalink
Merge pull request #3986 from nzw0301/relax-constraint-gpytorch
Browse files Browse the repository at this point in the history
Remove GPyTorch version constraint
  • Loading branch information
toshihikoyanase committed Sep 26, 2022
2 parents a61e53d + be8f229 commit 58434f9
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 @@ -51,8 +51,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 @@ -97,8 +95,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 58434f9

Please sign in to comment.