Skip to content

Commit 6d16e92

Browse files
Bump keras from 2.13.1 to 3.9.0 (#971)
Bumps [keras](https://github.com/keras-team/keras) from 2.13.1 to 3.9.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/keras-team/keras/releases">keras's releases</a>.</em></p> <blockquote> <h2>Keras 3.9.0</h2> <h2>New features</h2> <ul> <li>Add new Keras rematerialization API: <code>keras.RematScope</code> and <code>keras.remat</code>. It can be used to turn on rematerizaliation for certain layers in fine-grained manner, e.g. only for layers larger than a certain size, or for a specific set of layers, or only for activations.</li> <li>Increase op coverage for OpenVINO backend.</li> <li>New operations: <ul> <li><code>keras.ops.rot90</code></li> <li><code>keras.ops.rearrange</code> (Einops-style)</li> <li><code>keras.ops.signbit</code></li> <li><code>keras.ops.polar</code></li> <li><code>keras.ops.image.perspective_transform</code></li> <li><code>keras.ops.image.gaussian_blur</code></li> </ul> </li> <li>New layers: <ul> <li><code>keras.layers.RMSNormalization</code></li> <li><code>keras.layers.AugMix</code></li> <li><code>keras.layers.CutMix</code></li> <li><code>keras.layers.RandomInvert</code></li> <li><code>keras.layers.RandomErasing</code></li> <li><code>keras.layers.RandomGaussianBlur</code></li> <li><code>keras.layers.RandomPerspective</code></li> </ul> </li> <li>Minor additions: <ul> <li>Add support for <code>dtype</code> argument to <code>JaxLayer</code> and <code>FlaxLayer</code> layers</li> <li>Add boolean input support to <code>BinaryAccuracy</code> metric</li> <li>Add <code>antialias</code> argument to <code>keras.layers.Resizing</code> layer.</li> </ul> </li> <li>Security fix: disallow object pickling in saved <code>npz</code> model files (numpy format). Thanks to <a href="https://github.com/zpbrent">Peng Zhou</a> for reporting the vulnerability.</li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/harshaljanjani"><code>@​harshaljanjani</code></a> made their first contribution in <a href="https://redirect.github.com/keras-team/keras/pull/20745">keras-team/keras#20745</a></li> <li><a href="https://github.com/doncarlos999"><code>@​doncarlos999</code></a> made their first contribution in <a href="https://redirect.github.com/keras-team/keras/pull/20641">keras-team/keras#20641</a></li> <li><a href="https://github.com/sonali-kumari1"><code>@​sonali-kumari1</code></a> made their first contribution in <a href="https://redirect.github.com/keras-team/keras/pull/20775">keras-team/keras#20775</a></li> <li><a href="https://github.com/jurca"><code>@​jurca</code></a> made their first contribution in <a href="https://redirect.github.com/keras-team/keras/pull/20810">keras-team/keras#20810</a></li> <li><a href="https://github.com/zskendall"><code>@​zskendall</code></a> made their first contribution in <a href="https://redirect.github.com/keras-team/keras/pull/20805">keras-team/keras#20805</a></li> <li><a href="https://github.com/apehex"><code>@​apehex</code></a> made their first contribution in <a href="https://redirect.github.com/keras-team/keras/pull/20803">keras-team/keras#20803</a></li> <li><a href="https://github.com/nikolasavic3"><code>@​nikolasavic3</code></a> made their first contribution in <a href="https://redirect.github.com/keras-team/keras/pull/20896">keras-team/keras#20896</a></li> <li><a href="https://github.com/ibraaaa"><code>@​ibraaaa</code></a> made their first contribution in <a href="https://redirect.github.com/keras-team/keras/pull/20926">keras-team/keras#20926</a></li> <li><a href="https://github.com/AsVoider"><code>@​AsVoider</code></a> made their first contribution in <a href="https://redirect.github.com/keras-team/keras/pull/20921">keras-team/keras#20921</a></li> <li><a href="https://github.com/abheesht17"><code>@​abheesht17</code></a> made their first contribution in <a href="https://redirect.github.com/keras-team/keras/pull/20932">keras-team/keras#20932</a></li> <li><a href="https://github.com/Mohamed-Ashraf273"><code>@​Mohamed-Ashraf273</code></a> made their first contribution in <a href="https://redirect.github.com/keras-team/keras/pull/20934">keras-team/keras#20934</a></li> <li><a href="https://github.com/kuanxian1"><code>@​kuanxian1</code></a> made their first contribution in <a href="https://redirect.github.com/keras-team/keras/pull/20951">keras-team/keras#20951</a></li> <li><a href="https://github.com/praveenhosdrug123"><code>@​praveenhosdrug123</code></a> made their first contribution in <a href="https://redirect.github.com/keras-team/keras/pull/20916">keras-team/keras#20916</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/keras-team/keras/compare/v3.8.0...v3.9.0">https://github.com/keras-team/keras/compare/v3.8.0...v3.9.0</a></p> <h2>Keras 3.8.0</h2> <h2>New: OpenVINO backend</h2> <p>OpenVINO is now available as an infererence-only Keras backend. You can start using it by setting the <code>backend</code> field to <code>&quot;openvino&quot;</code> in your <code>keras.json</code> config file.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/keras-team/keras/commit/eb1f844472e1018d4db3ca6a9b0b9eab6abcedfd"><code>eb1f844</code></a> Fix <code>Discretization</code> serialization when <code>num_bins</code> is used. (<a href="https://redirect.github.com/keras-team/keras/issues/20971">#20971</a>)</li> <li><a href="https://github.com/keras-team/keras/commit/19b14183474a065c7d8e15064371281cb26076e9"><code>19b1418</code></a> Enable cuDNN RNNs when dropout is set and <code>training=True</code> (<a href="https://redirect.github.com/keras-team/keras/issues/20983">#20983</a>)</li> <li><a href="https://github.com/keras-team/keras/commit/465a3d2247f6f4deaa702989688de9caeae5c585"><code>465a3d2</code></a> Update version number</li> <li><a href="https://github.com/keras-team/keras/commit/2688bfc818f435647ae68c4838d873e8592d3078"><code>2688bfc</code></a> Fix docstring</li> <li><a href="https://github.com/keras-team/keras/commit/ff427e5e40bf9a956cfcbdb64a34d8ec376579c9"><code>ff427e5</code></a> [Keras Ops and Layer] Add keras.ops.rms_norm() and keras.layers.RMSNormalizat...</li> <li><a href="https://github.com/keras-team/keras/commit/f7115c2bf126b579d4681f0a0bc36c04d65a7db6"><code>f7115c2</code></a> Fix PyTorch stateful RNN/LSTM gradient computation error resolves <a href="https://redirect.github.com/keras-team/keras/issues/20875">#20875</a> (<a href="https://redirect.github.com/keras-team/keras/issues/20">#20</a>...</li> <li><a href="https://github.com/keras-team/keras/commit/7a7bca6f9530d8eab2625a5ed0e2e3cad224424a"><code>7a7bca6</code></a> [OpenVINO backend] Support numpy.append (<a href="https://redirect.github.com/keras-team/keras/issues/20951">#20951</a>)</li> <li><a href="https://github.com/keras-team/keras/commit/c356cae26e36ecd726dc1d5d41282dccdadf5f65"><code>c356cae</code></a> Bump the github-actions group with 3 updates (<a href="https://redirect.github.com/keras-team/keras/issues/20975">#20975</a>)</li> <li><a href="https://github.com/keras-team/keras/commit/0902ff4f64f8fc9f48dcefd62144e5619057674a"><code>0902ff4</code></a> [OpenVino BackEnd]support np.count_nonzero for ov BackEnd (<a href="https://redirect.github.com/keras-team/keras/issues/20945">#20945</a>)</li> <li><a href="https://github.com/keras-team/keras/commit/21c8997e3a758cfa9a8dfbf3868a59006faf895e"><code>21c8997</code></a> Make gaussian_blur to use scipy convolve2d (<a href="https://redirect.github.com/keras-team/keras/issues/20974">#20974</a>)</li> <li>Additional commits viewable in <a href="https://github.com/keras-team/keras/compare/v2.13.1...v3.9.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=keras&package-manager=pip&previous-version=2.13.1&new-version=3.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/Mindful-AI-Assistants/storytelling-2024-25/network/alerts). </details>
2 parents 8293781 + 59ea05a commit 6d16e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ scikit-learn==1.5.0
1212

1313
# Bibliotecas para machine learning
1414
tensorflow==2.11.1
15-
keras==2.13.1
15+
keras==3.9.0
1616

1717
# Bibliotecas para web scraping
1818
beautifulsoup4==4.10.0

0 commit comments

Comments
 (0)