Skip to content

Commit

Permalink
Merge pull request #652 from not522/optional-dependencies
Browse files Browse the repository at this point in the history
Add `optional-dependencies` for preferential optimization
  • Loading branch information
contramundum53 authored Oct 10, 2023
2 parents e18937d + 4a68309 commit 5d3a128
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/tutorials/preferential-optimization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ First, ensure the necessary packages are installed by executing the following co

.. code-block:: console
$ pip install "optuna>=3.3.0" "optuna-dashboard>=0.13.0b1" pillow botorch
$ pip install "optuna>=3.3.0" "optuna-dashboard[preferential]>=0.13.0b1" pillow
Next, execute the Python script, copied from `generator.py`_.

Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,12 @@ test = [
optional = [
"streamlit",
"boto3",
"botorch",
"botorch>=0.8.1",
]

preferential = [
"botorch>=0.8.1",
]

[project.scripts]
optuna-dashboard = "optuna_dashboard._cli:main"
Expand Down

0 comments on commit 5d3a128

Please sign in to comment.