Skip to content

Commit 296458a

Browse files
authored
Version 1.0.1 (#33)
- SMAC Converter: If config origin is not found then `None` is used. - Restricting SMAC<1.4.0 as SMAC had some API changes.
1 parent ebd89c4 commit 296458a

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Version 1.0.1
2+
3+
## Bug-Fixes
4+
- SMAC Converter: If config origin is not found then `None` is used.
5+
- Restricting SMAC<1.4.0 as SMAC had some API changes.
6+
7+
18
# Version 1.0
29

310
## General

deepcave/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"Source Code": "https://github.com/automl/deepcave",
1818
}
1919
copyright = f"Copyright {datetime.date.today().strftime('%Y')}, {author}"
20-
version = "1.0"
20+
version = "1.0.1"
2121

2222
_exec_file = sys.argv[0]
2323
_exec_files = ["server.py", "worker.py", "sphinx-build"]

deepcave/runs/converters/smac.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,18 @@ def from_path(cls, path):
137137
# Round budget
138138
budget = np.round(budget, 2)
139139

140+
origin = None
141+
if config_id in config_origins:
142+
origin = config_origins[config_id]
143+
140144
run.add(
141145
costs=[cost, time],
142146
config=config,
143147
budget=budget,
144148
start_time=starttime,
145149
end_time=endtime,
146150
status=status,
147-
origin=config_origins[config_id],
151+
origin=origin,
148152
additional=additional_info,
149153
)
150154

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ matplotlib>=3.5.1
88

99
# AutoML packages
1010
ConfigSpace
11-
smac
11+
smac<1.4.0
1212
hpbandster==0.7.4
1313

1414
# Upgrading to 2.1.0 or higher breaks the slider because string keys in marks

0 commit comments

Comments
 (0)