Skip to content

Commit

Permalink
fix: HyperSMAC removed config_id
Browse files Browse the repository at this point in the history
  • Loading branch information
becktepe committed Oct 8, 2024
1 parent 86d0a7f commit b7e9b15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion hydra_plugins/hyper_smac/hyper_smac.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,12 @@ def __init__(self, smac):
def ask(self):
"""Ask for the next configuration."""
smac_info = self.smac.ask()
info = Info(smac_info.config, smac_info.budget, None, smac_info.seed)
info = Info(
config=smac_info.config,
budget=smac_info.budget,
load_path=None,
seed=smac_info.seed
)
return info, False

def tell(self, info, value):
Expand Down
1 change: 0 additions & 1 deletion hydra_plugins/hypersweeper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ class Info:

config: dict
budget: float
config_id: str | None = None
load_path: str | None = None
seed: int | None = None

Expand Down

0 comments on commit b7e9b15

Please sign in to comment.