diff --git a/CHANGELOG.md b/CHANGELOG.md index a94d0173..f260a297 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ -# Version 0.1.0 + +# v0.1.1 + +## Bug Fixes +- Fix HEBO integration (#149) + +# v0.1.0 - Initial version of CARP-S. \ No newline at end of file diff --git a/CITATION.cff b/CITATION.cff index 5b24f13e..30f9afa5 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -10,7 +10,7 @@ url: "https://automl.github.io/CARP-S/main/" repository-code: "https://github.com/automl/CARP-S" -version: "0.1.0" +version: "0.1.1" type: "template" keywords: diff --git a/Makefile b/Makefile index c2143bfd..bcb56fc4 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ SHELL := /bin/bash NAME := CARP-S PACKAGE_NAME := carps -VERSION := 0.1.0 +VERSION := 0.1.1 DIST := dist diff --git a/carps/benchmarks/hpo_b.py b/carps/benchmarks/hpo_b.py index f6b6ba40..f0eddf5b 100644 --- a/carps/benchmarks/hpo_b.py +++ b/carps/benchmarks/hpo_b.py @@ -234,7 +234,7 @@ def __init__( if not surrogates_file.is_file(): raise RuntimeError( "It seems that the surrogate files have not been downloaded. Please run " - "'bash container_recipes/benchmarks/hpob/download_data.sh' to download the " + "'bash container_recipes/benchmarks/HPOB/download_data.sh' to download the " "surrogates." ) with open(str(surrogates_file)) as f: diff --git a/carps/optimizers/hebo.py b/carps/optimizers/hebo.py index 6726a54e..9d9c69dd 100644 --- a/carps/optimizers/hebo.py +++ b/carps/optimizers/hebo.py @@ -271,7 +271,6 @@ def tell(self, trial_info: TrialInfo, trial_value: TrialValue) -> None: cost = trial_value.cost suggestion = self.convert_from_trial(trial_info=trial_info) - self.trial_counter += 1 cost = np.asarray([cost]) if isinstance(cost, abc.Sequence) else np.asarray(cost) self._solver.observe(suggestion, np.asarray([cost])) diff --git a/carps/utils/check_missing.py b/carps/utils/check_missing.py index 23064e96..95717943 100644 --- a/carps/utils/check_missing.py +++ b/carps/utils/check_missing.py @@ -30,7 +30,7 @@ def get_experiment_status(path: Path) -> dict: if trial_logs_fn.is_file(): trial_logs = read_jsonl_content(str(trial_logs_fn)) n_trials_done = trial_logs["n_trials"].max() - status = RunStatus.COMPLETED if n_trials == n_trials_done else RunStatus.TRUNCATED + status = RunStatus.COMPLETED if n_trials >= n_trials_done else RunStatus.TRUNCATED overrides = OmegaConf.load(path.parent / "overrides.yaml") # TODO maybe filter cluster diff --git a/pyproject.toml b/pyproject.toml index 9cbe6f5d..67759bdd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" [project] name = "carps" -version = "0.1.0" +version = "0.1.1" dependencies = [ "autorank", "ConfigSpace",