Skip to content

Commit

Permalink
Update safetensors[numpy] requirement from ~=0.4.2 to >=0.4.2,<0.6.0 (#…
Browse files Browse the repository at this point in the history
…849)

Updates the requirements on
[safetensors[numpy]](https://github.com/huggingface/safetensors) to
permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/huggingface/safetensors/releases">safetensors[numpy]'s
releases</a>.</em></p>
<blockquote>
<h2>v0.5.0</h2>
<h2>Major changes.</h2>
<ul>
<li>Using abi3, python 3.8</li>
</ul>
<h2>What's Changed</h2>
<ul>
<li>Update <strong>init</strong>.pyi by <a
href="https://github.com/w1gs"><code>@​w1gs</code></a> in <a
href="https://redirect.github.com/huggingface/safetensors/pull/533">huggingface/safetensors#533</a></li>
<li>Trying some new CI. by <a
href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a
href="https://redirect.github.com/huggingface/safetensors/pull/539">huggingface/safetensors#539</a></li>
<li>Attempt to fix bench + update TF + maturin abi3 CI. by <a
href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a
href="https://redirect.github.com/huggingface/safetensors/pull/540">huggingface/safetensors#540</a></li>
<li>Add support for Cambricon mlu devices by <a
href="https://github.com/huismiling"><code>@​huismiling</code></a> in <a
href="https://redirect.github.com/huggingface/safetensors/pull/535">huggingface/safetensors#535</a></li>
<li>Upgrading PyO3 to 0.23 by <a
href="https://github.com/IvanIsCoding"><code>@​IvanIsCoding</code></a>
in <a
href="https://redirect.github.com/huggingface/safetensors/pull/543">huggingface/safetensors#543</a></li>
<li>Upgrade version number. by <a
href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a
href="https://redirect.github.com/huggingface/safetensors/pull/550">huggingface/safetensors#550</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/w1gs"><code>@​w1gs</code></a> made their
first contribution in <a
href="https://redirect.github.com/huggingface/safetensors/pull/533">huggingface/safetensors#533</a></li>
<li><a
href="https://github.com/huismiling"><code>@​huismiling</code></a> made
their first contribution in <a
href="https://redirect.github.com/huggingface/safetensors/pull/535">huggingface/safetensors#535</a></li>
<li><a
href="https://github.com/IvanIsCoding"><code>@​IvanIsCoding</code></a>
made their first contribution in <a
href="https://redirect.github.com/huggingface/safetensors/pull/543">huggingface/safetensors#543</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/huggingface/safetensors/compare/v0.4.5...v0.5.0">https://github.com/huggingface/safetensors/compare/v0.4.5...v0.5.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/huggingface/safetensors/commit/69ad4f7af775ec0f847d008b9fd1e65c29eefcc8"><code>69ad4f7</code></a>
Release 0.5.0</li>
<li><a
href="https://github.com/huggingface/safetensors/commit/ed917e73088ab9af421e0b0ddd43a95c0e9eafca"><code>ed917e7</code></a>
Upgrade version number.</li>
<li><a
href="https://github.com/huggingface/safetensors/commit/98fd68803827e2ae000c976dc8bb0223587d0224"><code>98fd688</code></a>
Upgrade version number. (<a
href="https://redirect.github.com/huggingface/safetensors/issues/550">#550</a>)</li>
<li><a
href="https://github.com/huggingface/safetensors/commit/6e9c9b3d5caf24324c13d1ec23f3befef9b1c5ac"><code>6e9c9b3</code></a>
Upgrading PyO3 to 0.23 (<a
href="https://redirect.github.com/huggingface/safetensors/issues/543">#543</a>)</li>
<li><a
href="https://github.com/huggingface/safetensors/commit/038dcbb49aece6123b1eab7c3cbb692a9d711fed"><code>038dcbb</code></a>
Add support for mlu devices (<a
href="https://redirect.github.com/huggingface/safetensors/issues/535">#535</a>)</li>
<li><a
href="https://github.com/huggingface/safetensors/commit/f5839b6aee407652aa3078d91206b618dd84e3c2"><code>f5839b6</code></a>
Attempt to fix bench + update TF + maturin abi3 CI. (<a
href="https://redirect.github.com/huggingface/safetensors/issues/540">#540</a>)</li>
<li><a
href="https://github.com/huggingface/safetensors/commit/8a5746ea5010aa928384c3295cda13e3079ffa6c"><code>8a5746e</code></a>
Trying some new CI. (<a
href="https://redirect.github.com/huggingface/safetensors/issues/539">#539</a>)</li>
<li><a
href="https://github.com/huggingface/safetensors/commit/41bd1acf38ad28ac559522d40596c6c802f79453"><code>41bd1ac</code></a>
Update <strong>init</strong>.pyi (<a
href="https://redirect.github.com/huggingface/safetensors/issues/533">#533</a>)</li>
<li><a
href="https://github.com/huggingface/safetensors/commit/5db3b92c76ba293a0715b916c16b113c0b3551e9"><code>5db3b92</code></a>
Prepare for 0.4.5 (<a
href="https://redirect.github.com/huggingface/safetensors/issues/525">#525</a>)</li>
<li><a
href="https://github.com/huggingface/safetensors/commit/ba2e39714715f3f03633fb0d819091a71d60fe42"><code>ba2e397</code></a>
fix lifetimes, add tensors iterator (<a
href="https://redirect.github.com/huggingface/safetensors/issues/518">#518</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/huggingface/safetensors/compare/v0.4.2...v0.5.0">compare
view</a></li>
</ul>
</details>
<br />


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)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jan 7, 2025
1 parent 52fd92d commit 3747d99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dependencies = [
"tensorstore>=0.1.65",
"pytimeparse>=1.1.8",
"humanfriendly==10.0",
"safetensors[numpy]~=0.4.2",
"safetensors[numpy]>=0.4.2,<0.6.0",
"matplotlib>=3.7.0",
"tblib>=1.7.0,<4.0.0",
"dataclasses-json~=0.6.4",
Expand Down

0 comments on commit 3747d99

Please sign in to comment.