Skip to content

Commit 2b59a02

Browse files
authored
update release notes (#971)
1 parent 0749c98 commit 2b59a02

File tree

1 file changed

+26
-14
lines changed

1 file changed

+26
-14
lines changed

RELEASE.md

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
* When running in parallel, the chief may exit before some client ask for
55
another trial, which informs the client to exit. Now, it is fixed.
66

7+
## New features
8+
* Updated the dependency from `keras-core` to `keras` version 3 and above. Also
9+
support `keras` version 2 for backward compatibility.
10+
711
# Release v1.4.5
812

913
## Bug fixes
@@ -14,18 +18,25 @@
1418
* When running in parallel, the chief used to start to block in
1519
`tuner.__init__()`. However, it makes more sense to block when calling
1620
`tuner.search()`. Now, it is fixed.
17-
* Could not do `from keras_tuner.engine.hypermodel import HyperModel`. It is now fixed.
18-
* Could not do `from keras_tuner.engine.hyperparameters import HyperParameters`. It is now fixed.
19-
* Could not do `from keras_tuner.engine.metrics_tracking import infer_metric_direction`. It is now fixed.
20-
* Could not do `from keras_tuner.engine.oracle import Objective`. It is now fixed.
21+
* Could not do `from keras_tuner.engine.hypermodel import HyperModel`. It is now
22+
fixed.
23+
* Could not do `from keras_tuner.engine.hyperparameters import HyperParameters`.
24+
It is now fixed.
25+
* Could not do `from keras_tuner.engine.metrics_tracking import
26+
infer_metric_direction`. It is now fixed.
27+
* Could not do `from keras_tuner.engine.oracle import Objective`. It is now
28+
fixed.
2129
* Could not do `from keras_tuner.engine.oracle import Oracle`. It is now fixed.
2230

2331
# Release v1.4.4
2432

2533
## Bug fixes
26-
* Could not do `from keras_tuner.engine.hyperparameters import serialize`. It is now fixed.
27-
* Could not do `from keras_tuner.engine.hyperparameters import deserialize`. It is now fixed.
28-
* Could not do `from keras_tuner.engine.tuner import maybe_distribute`. It is now fixed.
34+
* Could not do `from keras_tuner.engine.hyperparameters import serialize`. It is
35+
now fixed.
36+
* Could not do `from keras_tuner.engine.hyperparameters import deserialize`. It
37+
is now fixed.
38+
* Could not do `from keras_tuner.engine.tuner import maybe_distribute`. It is
39+
now fixed.
2940

3041
# Release v1.4.3
3142

@@ -126,7 +137,8 @@
126137
* If you implemented your own `Oracle` and overrided `Oracle.end_trial()`, you
127138
need to change the signature of the function from
128139
`Oracle.end_trial(trial.trial_id, trial.status)` to `Oracle.end_trial(trial)`.
129-
* The default value of the `step` argument in `keras_tuner.HyperParameters.Int()` is
140+
* The default value of the `step` argument in
141+
* `keras_tuner.HyperParameters.Int()` is
130142
changed to `None`, which was `1` before. No change in default behavior.
131143
* The default value of the `sampling` argument in
132144
`keras_tuner.HyperParameters.Int()` is changed to `"linear"`, which was `None`
@@ -136,8 +148,8 @@
136148
`None` before. No change in default behavior.
137149
* If you explicitly rely on protobuf values, the new protobuf bug fix may affect
138150
you.
139-
* Changed the mechanism of how a random sample is drawn for a hyperparameter. They
140-
now all start from a random value between 0 and 1, and convert the value
151+
* Changed the mechanism of how a random sample is drawn for a hyperparameter.
152+
They now all start from a random value between 0 and 1, and convert the value
141153
to a random sample.
142154

143155
## New features
@@ -147,8 +159,8 @@
147159
and `Oracle` initializers, `max_retries_per_trial` and
148160
`max_consecutive_failed_trials`.
149161
* You can now mark a `Trial` as failed by
150-
`raise keras_tuner.FailedTrialError("error message.")` in `HyperModel.build()`,
151-
`HyperModel.fit()`, or your model build function.
162+
`raise keras_tuner.FailedTrialError("error message.")` in
163+
`HyperModel.build()`, `HyperModel.fit()`, or your model build function.
152164
* Provides better error messages for invalid configs for `Int` and `Float` type
153165
hyperparameters.
154166
* A decorator `@keras_tuner.synchronized` is added to decorate the methods in
@@ -166,5 +178,5 @@
166178
dimension`, but it defaults to 2. This is now fixed.
167179
* It would through an error when using a concrete Keras optimizer object to
168180
override the `HyperModel` compile arg. This is now fixed.
169-
* Workers might crash due to `Oracle` reloading when running in parallel. This is
170-
now fixed.
181+
* Workers might crash due to `Oracle` reloading when running in parallel. This
182+
is now fixed.

0 commit comments

Comments
 (0)