Skip to content

Commit

Permalink
fix: circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
becktepe committed Sep 18, 2024
1 parent 86ec790 commit c0fe63f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hydra_plugins/hypersweeper/hypersweeper_sweeper.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import wandb
from ConfigSpace import Configuration, ConfigurationSpace
from hydra.plugins.launcher import Launcher
from hydra_plugins.hyper_smac.hyper_smac import HyperSMACAdapter
from hydra.utils import to_absolute_path
from omegaconf import DictConfig, OmegaConf

Expand Down Expand Up @@ -170,7 +169,6 @@ def __init__(
self.warmstart_data: list[tuple[Info, Result]] = []

if warmstart_file:
assert not isinstance(self.optimizer, HyperSMACAdapter), "Default performance and budget can only be used with HyperSMAC."
self.warmstart_data = read_warmstart_data(warmstart_filename=warmstart_file, search_space=self.configspace)

self.wandb_project = wandb_project
Expand Down

0 comments on commit c0fe63f

Please sign in to comment.