Skip to content

Commit

Permalink
v0.1.1 (#151)
Browse files Browse the repository at this point in the history
* fix: typo

* build: update scripts

* ignore python

* docs: update install instructions

* docs: update install instructions

* build: fix makefile typo

* docs: fix typos

* build: updates for hpobench installation

* build: updates for hpobench installation

* Add logo to README.md + docs; adapt docs theme colors to logo

* Actually add the logo file

* fix: changelog entry for initial version

* add running data to readme (#139)

* add running data to readme

* Update README.md

---------

Co-authored-by: benjamc <c.benjamins@ai.uni-hannover.de>

* Update plotting

* Update filepath

* fix(check_missing.py): Fix criterion for max trials (#150)

For MF, max trials can be a mu above integer value specified because of the partial trials. Fix the condition.

* Fix HEBO integration (#149)

* fix(hebo): Do not increase trial_counter twice

Must have been forgotton 😭💀

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update version number 0.1.0->0.1.1

---------

Co-authored-by: Sarah Krebs <s.krebs@ai.uni-hannover.de>
Co-authored-by: Helena Graf <h.graf@ai.uni-hannover.de>
Co-authored-by: Sarah Segel <30651149+sarah-segel@users.noreply.github.com>
Co-authored-by: Difan Deng <33290713+dengdifan@users.noreply.github.com>
  • Loading branch information
5 people authored Jun 28, 2024
1 parent 0d3ced9 commit f5f8b95
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
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

0 comments on commit f5f8b95

Please sign in to comment.