Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.1.1 #151

Merged
merged 23 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SHELL := /bin/bash

NAME := CARP-S
PACKAGE_NAME := carps
VERSION := 0.1.0
VERSION := 0.1.1

DIST := dist

Expand Down
2 changes: 1 addition & 1 deletion carps/benchmarks/hpo_b.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion carps/optimizers/hebo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
Expand Down
2 changes: 1 addition & 1 deletion carps/utils/check_missing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "carps"
version = "0.1.0"
version = "0.1.1"
dependencies = [
"autorank",
"ConfigSpace",
Expand Down