Skip to content

Commit

Permalink
chore: Add smac to possible install tag, fix comment in example (#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
geoalgo committed Oct 9, 2023
1 parent ec7d449 commit d98ba99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/launch_smac_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ def run_smac_simulated_backend():
dataset=dataset_name,
)

# Asynchronous successive halving (ASHA)
blackbox = trial_backend.blackbox

scheduler = SMAC(
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ def load_benchmark_requirements():
required_moo = load_requirements("requirements-moo.txt")
required_visual = load_requirements("requirements-visual.txt")
required_sklearn = load_requirements("requirements-sklearn.txt")
required_smac = load_requirements("requirements-smac.txt")

# Do not add SMAC for now in "extra" as it can easily conflict with Yahpo config-space version
required_extra = (
required_gpsearchers
+ required_kde
Expand Down Expand Up @@ -95,6 +97,7 @@ def load_benchmark_requirements():
"bore": required_bore,
"extra": required_extra,
"basic": required_basic,
"smac": required_smac,
},
install_requires=required_core,
include_package_data=True,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# TODO uncomment once https://github.com/slds-lmu/yahpo_gym/pull/83 is released in Yahpo
# onnxruntime>=1.10.0
onnxruntime==1.10.0
pyyaml
configspace<=0.6.1
Expand Down

0 comments on commit d98ba99

Please sign in to comment.