openvino
797a102e - Update tensorflow requirement from <2.18.0,>=1.15.5 to >=1.15.5,<2.19.0 in /src/bindings/python (#29418)

Commit
356 days ago
Update tensorflow requirement from <2.18.0,>=1.15.5 to >=1.15.5,<2.19.0 in /src/bindings/python (#29418) Updates the requirements on [tensorflow](https://github.com/tensorflow/tensorflow) to permit the latest version. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tensorflow/tensorflow/releases">tensorflow's releases</a>.</em></p> <blockquote> <h2>TensorFlow 2.18.1</h2> <h1>Release 2.18.1</h1> <h3>Security</h3> <ul> <li>Updates curl to <code>8.11.0</code> to handle <a href="https://github.com/advisories/GHSA-97xx-95pm-5qv6">CVE-2024-2004</a>, <a href="https://github.com/advisories/GHSA-wr4c-gwg7-p734">CVE-2024-2379</a>, <a href="https://github.com/advisories/GHSA-mq8w-c2j9-rqxc">CVE-2024-2398</a>, <a href="https://github.com/advisories/GHSA-9xr6-qf7m-2jv5">CVE-2024-2466</a>, <a href="https://github.com/advisories/GHSA-x3h8-3mf2-v794">CVE-2024-6197</a>, <a href="https://github.com/advisories/GHSA-97c4-2w4v-c7r8">CVE-2024-7264</a>, <a href="https://github.com/advisories/GHSA-gv3v-x3f3-7fxm">CVE-2024-8096</a> and <a href="https://github.com/advisories/GHSA-g337-g667-mjvw">CVE-2024-9681</a>.</li> </ul> <h3>Bug Fixes and Other Changes</h3> <ul> <li>Loosen <code>ml_dtypes</code> upperbound to <code>&lt; 1.0.0</code> to reduce conflicts when installed with other ML ecosystem components.</li> </ul> <h3>Breaking Changes</h3> <ul> <li><code>tf.lite</code> <ul> <li>Interpreter: <ul> <li><code>tf.lite.Interpreter</code> gives warning of future deletion and a redirection notice to its new location at <code>ai_edge_litert.interpreter</code>. See the <a href="https://ai.google.dev/edge/litert/migration">migration guide</a> for details.</li> </ul> </li> </ul> </li> <li>Tensorflow-tpu for this patch is skipped due to some sparsecore related bugs. We suggest to upgrade to 2.19.0 instead.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/tensorflow/tensorflow/blob/v2.18.1/RELEASE.md">tensorflow's changelog</a>.</em></p> <blockquote> <h1>Release 2.18.1</h1> <h3>Security</h3> <ul> <li>Updates curl to <code>8.11.0</code> to handle <a href="https://github.com/advisories/GHSA-97xx-95pm-5qv6">CVE-2024-2004</a>, <a href="https://github.com/advisories/GHSA-wr4c-gwg7-p734">CVE-2024-2379</a>, <a href="https://github.com/advisories/GHSA-mq8w-c2j9-rqxc">CVE-2024-2398</a>, <a href="https://github.com/advisories/GHSA-9xr6-qf7m-2jv5">CVE-2024-2466</a>, <a href="https://github.com/advisories/GHSA-x3h8-3mf2-v794">CVE-2024-6197</a>, <a href="https://github.com/advisories/GHSA-97c4-2w4v-c7r8">CVE-2024-7264</a>, <a href="https://github.com/advisories/GHSA-gv3v-x3f3-7fxm">CVE-2024-8096</a> and <a href="https://github.com/advisories/GHSA-g337-g667-mjvw">CVE-2024-9681</a>.</li> </ul> <h3>Bug Fixes and Other Changes</h3> <ul> <li>Loosen <code>ml_dtypes</code> upperbound to <code>&lt; 1.0.0</code> to reduce conflicts when installed with other ML ecosystem components.</li> </ul> <h3>Breaking Changes</h3> <ul> <li><code>tf.lite</code> <ul> <li>Interpreter: <ul> <li><code>tf.lite.Interpreter</code> gives warning of future deletion and a redirection notice to its new location at <code>ai_edge_litert.interpreter</code>. See the <a href="https://ai.google.dev/edge/litert/migration">migration guide</a> for details.</li> </ul> </li> </ul> </li> <li>Tensorflow-tpu for this patch is skipped due to some sparsecore related bugs. We suggest to upgrade to 2.19.0 instead.</li> </ul> <h1>Release 2.18.0</h1> <h2>TensorFlow</h2> <h3>Breaking Changes</h3> <ul> <li> <p><code>tf.lite</code></p> <ul> <li>Interpreter: <ul> <li><code>tf.lite.Interpreter</code> gives warning of future deletion and a redirection notice to its new location at <code>ai_edge_litert.interpreter</code>. See the <a href="https://ai.google.dev/edge/litert/migration">migration guide</a> for details.</li> </ul> </li> <li>C API: <ul> <li>An optional, fourth parameter was added <code>TfLiteOperatorCreate</code> as a step forward towards a cleaner API for <code>TfLiteOperator</code>. Function <code>TfLiteOperatorCreate</code> was added recently, in TensorFlow Lite version 2.17.0, released on 7/11/2024, and we do not expect there will be much code using this function yet. Any code breakages can be easily resolved by passing nullptr as the new, 4th parameter.</li> </ul> </li> </ul> </li> <li> <p>TensorRT support is disabled in CUDA builds for code health improvement.</p> </li> <li> <p>Hermetic CUDA support is added.</p> <p>Hermetic CUDA uses a specific downloadable version of CUDA instead of the user’s locally installed CUDA. Bazel will download CUDA, CUDNN and NCCL distributions, and then use CUDA libraries and tools as dependencies in various Bazel targets. This enables more reproducible builds for Google ML projects and supported CUDA versions.</p> </li> </ul> <h3>Known Caveats</h3> <h3>Major Features and Improvements</h3> <ul> <li>TensorFlow now supports and is compiled with NumPy 2.0 by default. Please see the <a href="https://numpy.org/doc/stable/release/2.0.0-notes.html">NumPy 2 release notes</a> and the <a href="https://numpy.org/devdocs/numpy_2_0_migration_guide.html#numpy-2-migration-guide">NumPy 2 migration guide</a>. <ul> <li>Note that NumPy's type promotion rules have been changed(See <a href="https://numpy.org/neps/nep-0050-scalar-promotion.html#nep50">NEP 50</a>for details). This may change the precision at which computations happen, leading either to type errors or to numerical changes to results.</li> <li>Tensorflow will continue to support NumPy 1.26 until 2025, aligning with community standard deprecation timeline <a href="https://scientific-python.org/specs/spec-0000/">here</a>.</li> </ul> </li> <li><code>tf.lite</code>: <ul> <li>The LiteRT <a href="https://github.com/google-ai-edge/LiteRT">repo</a> is live (see <a href="https://developers.googleblog.com/en/tensorflow-lite-is-now-litert/">announcement</a>), which means that in the coming months there will be changes to the development experience for TFLite. The TF Lite Runtime source will be moved later this year, and sometime after that we will start accepting contributions through that repo.</li> </ul> </li> <li>SignatureRunner is now supported for models with no signatures.</li> </ul> <h3>Bug Fixes and Other Changes</h3> <ul> <li><code>tf.data</code> <ul> <li>Add optional <code>synchronous</code> argument to <code>map</code>, to specify that the <code>map</code> should run synchronously, as opposed to be parallelizable when <code>options.experimental_optimization.map_parallelization=True</code>. This saves memory compared to setting <code>num_parallel_calls=1</code>.</li> <li>Add optional <code>use_unbounded_threadpool</code> argument to <code>map</code>, to specify that the <code>map</code> should use an unbounded threadpool instead of the default pool that is based on the number of cores on the machine. This can improve throughput for map functions which perform IO or otherwise release the CPU.</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tensorflow/tensorflow/commit/cb64295ec7308f770b22db6047a1e755b35b7bee"><code>cb64295</code></a> Backport Windows builds into 2.18 for 2.18.1 (<a href="https://redirect.github.com/tensorflow/tensorflow/issues/88848">#88848</a>)</li> <li><a href="https://github.com/tensorflow/tensorflow/commit/9e75d4b0c7170148b2e88ebaf375470b372d8347"><code>9e75d4b</code></a> Merge pull request <a href="https://redirect.github.com/tensorflow/tensorflow/issues/88677">#88677</a> from tensorflow/chandrasekhard2-patch-1</li> <li><a href="https://github.com/tensorflow/tensorflow/commit/bafd4e86828aab316587499fc9ee66be9a360171"><code>bafd4e8</code></a> Update RELEASE.md</li> <li><a href="https://github.com/tensorflow/tensorflow/commit/d980227b75046bfbe3d27ea9d3fd1f788e27da26"><code>d980227</code></a> Update release notes for TensorFlow 2.18.1 (<a href="https://redirect.github.com/tensorflow/tensorflow/issues/87073">#87073</a>)</li> <li><a href="https://github.com/tensorflow/tensorflow/commit/430ca7a20ceac97d1ebe90ad2bd399d103b2e31f"><code>430ca7a</code></a> Merge pull request <a href="https://redirect.github.com/tensorflow/tensorflow/issues/87087">#87087</a> from tensorflow-jenkins/version-numbers-2.18.1-5478</li> <li><a href="https://github.com/tensorflow/tensorflow/commit/b37ff6301bc1656e0dc15cefa255c4da58db36f7"><code>b37ff63</code></a> Update version numbers to 2.18.1</li> <li><a href="https://github.com/tensorflow/tensorflow/commit/500e03dc2d086c8078c0da575932ae5177da22d9"><code>500e03d</code></a> Merge pull request <a href="https://redirect.github.com/tensorflow/tensorflow/issues/84966">#84966</a> from tensorflow/bump-mldtypes-2-18</li> <li><a href="https://github.com/tensorflow/tensorflow/commit/337b3f70a5785d9a7003f03d55a3caf5b5b71b55"><code>337b3f7</code></a> Bump ml-dtypes upper bound</li> <li><a href="https://github.com/tensorflow/tensorflow/commit/8241bac6da09ea42ff8c5c7a83067496019432e8"><code>8241bac</code></a> Merge pull request <a href="https://redirect.github.com/tensorflow/tensorflow/issues/80201">#80201</a> from tensorflow/r2.18-27ad610b6c7</li> <li><a href="https://github.com/tensorflow/tensorflow/commit/4399cf96189ce91884c54191c4b14f76c142baf4"><code>4399cf9</code></a> Add deletion warning to tf.lite.interpreter with a redirection notice to ai-e...</li> <li>Additional commits viewable in <a href="https://github.com/tensorflow/tensorflow/compare/v1.15.5...v2.18.1">compare view</a></li> </ul> </details> <br /> You can trigger a rebase of this PR 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) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com> Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com> Co-authored-by: Alina Kladieva <alina.kladieva@intel.com>
Parents
Loading