Bump safetensors from 0.4.0 to 0.4.1
diff --git a/requirements.txt b/requirements.txt
index 2cfc6a3a89..3d25bfd770 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -12,7 +12,7 @@ peft==0.6.*
 Pillow>=9.5.0
 pyyaml
 requests
-safetensors==0.4.0
+safetensors==0.4.1
 scipy
 sentencepiece
 tensorboard
diff --git a/requirements_amd.txt b/requirements_amd.txt
index ebaff9022a..e27f3016e2 100644
--- a/requirements_amd.txt
+++ b/requirements_amd.txt
@@ -12,7 +12,7 @@ peft==0.6.*
 Pillow>=9.5.0
 pyyaml
 requests
-safetensors==0.4.0
+safetensors==0.4.1
 scipy
 sentencepiece
 tensorboard
diff --git a/requirements_amd_noavx2.txt b/requirements_amd_noavx2.txt
index ed0c416723..f78832e3f3 100644
--- a/requirements_amd_noavx2.txt
+++ b/requirements_amd_noavx2.txt
@@ -12,7 +12,7 @@ peft==0.6.*
 Pillow>=9.5.0
 pyyaml
 requests
-safetensors==0.4.0
+safetensors==0.4.1
 scipy
 sentencepiece
 tensorboard
diff --git a/requirements_apple_intel.txt b/requirements_apple_intel.txt
index 9a290c512c..febb0609e6 100644
--- a/requirements_apple_intel.txt
+++ b/requirements_apple_intel.txt
@@ -12,7 +12,7 @@ peft==0.6.*
 Pillow>=9.5.0
 pyyaml
 requests
-safetensors==0.4.0
+safetensors==0.4.1
 scipy
 sentencepiece
 tensorboard
diff --git a/requirements_apple_silicon.txt b/requirements_apple_silicon.txt
index 3aa0a10604..2997c98f32 100644
--- a/requirements_apple_silicon.txt
+++ b/requirements_apple_silicon.txt
@@ -12,7 +12,7 @@ peft==0.6.*
 Pillow>=9.5.0
 pyyaml
 requests
-safetensors==0.4.0
+safetensors==0.4.1
 scipy
 sentencepiece
 tensorboard
diff --git a/requirements_cpu_only.txt b/requirements_cpu_only.txt
index 340276f894..ec0e84ffd0 100644
--- a/requirements_cpu_only.txt
+++ b/requirements_cpu_only.txt
@@ -12,7 +12,7 @@ peft==0.6.*
 Pillow>=9.5.0
 pyyaml
 requests
-safetensors==0.4.0
+safetensors==0.4.1
 scipy
 sentencepiece
 tensorboard
diff --git a/requirements_cpu_only_noavx2.txt b/requirements_cpu_only_noavx2.txt
index f2812229a9..02e51844e6 100644
--- a/requirements_cpu_only_noavx2.txt
+++ b/requirements_cpu_only_noavx2.txt
@@ -12,7 +12,7 @@ peft==0.6.*
 Pillow>=9.5.0
 pyyaml
 requests
-safetensors==0.4.0
+safetensors==0.4.1
 scipy
 sentencepiece
 tensorboard
diff --git a/requirements_noavx2.txt b/requirements_noavx2.txt
index 3ccc93636b..eeff8eb71d 100644
--- a/requirements_noavx2.txt
+++ b/requirements_noavx2.txt
@@ -12,7 +12,7 @@ peft==0.6.*
 Pillow>=9.5.0
 pyyaml
 requests
-safetensors==0.4.0
+safetensors==0.4.1
 scipy
 sentencepiece
 tensorboard
diff --git a/requirements_nowheels.txt b/requirements_nowheels.txt
index 48829427a4..d08204fd1c 100644
--- a/requirements_nowheels.txt
+++ b/requirements_nowheels.txt
@@ -12,7 +12,7 @@ peft==0.6.*
 Pillow>=9.5.0
 pyyaml
 requests
-safetensors==0.4.0
+safetensors==0.4.1
 scipy
 sentencepiece
 tensorboard

Bumps [safetensors](https://github.com/huggingface/safetensors) from 0.4.0 to 0.4.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/huggingface/safetensors/releases">safetensors's releases</a>.</em></p>
<blockquote>
<h2>v0.4.1rc1</h2>
<h2>What's Changed</h2>
<ul>
<li>Back on dev. by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/313">huggingface/safetensors#313</a></li>
<li>Clarify specification around endianness and header padding by <a href="https://github.com/akx"><code>@​akx</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/306">huggingface/safetensors#306</a></li>
<li>Adding new target for m1 by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/317">huggingface/safetensors#317</a></li>
<li>Fixing macos 13 release script (by prebuilding). by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/315">huggingface/safetensors#315</a></li>
<li>Cache dir all the time. by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/319">huggingface/safetensors#319</a></li>
<li>Supporting whisper conversion. by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/320">huggingface/safetensors#320</a></li>
<li>add tensorshare to featured projects by <a href="https://github.com/chainyo"><code>@​chainyo</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/322">huggingface/safetensors#322</a></li>
<li>Fix Bench GH action. by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/323">huggingface/safetensors#323</a></li>
<li>Yaml is nice. by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/325">huggingface/safetensors#325</a></li>
<li>Fixing big endian. by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/327">huggingface/safetensors#327</a></li>
<li>Fixing boolean + numpy &gt; 1.20 by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/326">huggingface/safetensors#326</a></li>
<li>Add NumPy for all backends dependencies by <a href="https://github.com/chainyo"><code>@​chainyo</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/332">huggingface/safetensors#332</a></li>
<li>impl <code>View</code> for <code>TensorView</code> by <a href="https://github.com/coreylowman"><code>@​coreylowman</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/329">huggingface/safetensors#329</a></li>
<li>Reworked the release script entirely by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/334">huggingface/safetensors#334</a></li>
<li>Preparing small patch release (Big Endian fix). by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/335">huggingface/safetensors#335</a></li>
<li>Temporary revert of the breaking change (keep it for 0.4.0). by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/336">huggingface/safetensors#336</a></li>
<li>Don't release rust versions on RC by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/337">huggingface/safetensors#337</a></li>
<li>Fixing release script. by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/338">huggingface/safetensors#338</a></li>
<li>Python 3.8 for arm by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/339">huggingface/safetensors#339</a></li>
<li>Win64. by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/342">huggingface/safetensors#342</a></li>
<li>win64 by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/343">huggingface/safetensors#343</a></li>
<li>Trying out maturin. by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/344">huggingface/safetensors#344</a></li>
<li>Reduce memory allocations by <a href="https://github.com/cospectrum"><code>@​cospectrum</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/350">huggingface/safetensors#350</a></li>
<li>[docs] Convert weights by <a href="https://github.com/stevhliu"><code>@​stevhliu</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/345">huggingface/safetensors#345</a></li>
<li>Update types for load_model filename by <a href="https://github.com/kevinhu"><code>@​kevinhu</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/356">huggingface/safetensors#356</a></li>
<li>Fixing release script for windows aarch64 and 3.12 by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/348">huggingface/safetensors#348</a></li>
<li>Minor docstring edit to flax.py by <a href="https://github.com/paulbricman"><code>@​paulbricman</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/359">huggingface/safetensors#359</a></li>
<li>Stop recreating the hashmap all the time. by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/363">huggingface/safetensors#363</a></li>
<li>fix: add py.typed by <a href="https://github.com/b-kamphorst"><code>@​b-kamphorst</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/365">huggingface/safetensors#365</a></li>
<li>Preparing a new release (0.4.0). by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/366">huggingface/safetensors#366</a></li>
<li>Supporting bfloat16 for tensorflow + jax (was failing because of intermediary numpy). by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/382">huggingface/safetensors#382</a></li>
<li>Fix typo by <a href="https://github.com/cccntu"><code>@​cccntu</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/377">huggingface/safetensors#377</a></li>
<li>Support fp8_e4m3/fp8_e5m2 by <a href="https://github.com/Narsil"><code>@​Narsil</code></a> in <a href="https://redirect.github.com/huggingface/safetensors/pull/383">huggingface/safetensors#383</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/akx"><code>@​akx</code></a> made their first contribution in <a href="https://redirect.github.com/huggingface/safetensors/pull/306">huggingface/safetensors#306</a></li>
<li><a href="https://github.com/chainyo"><code>@​chainyo</code></a> made their first contribution in <a href="https://redirect.github.com/huggingface/safetensors/pull/322">huggingface/safetensors#322</a></li>
<li><a href="https://github.com/coreylowman"><code>@​coreylowman</code></a> made their first contribution in <a href="https://redirect.github.com/huggingface/safetensors/pull/329">huggingface/safetensors#329</a></li>
<li><a href="https://github.com/cospectrum"><code>@​cospectrum</code></a> made their first contribution in <a href="https://redirect.github.com/huggingface/safetensors/pull/350">huggingface/safetensors#350</a></li>
<li><a href="https://github.com/stevhliu"><code>@​stevhliu</code></a> made their first contribution in <a href="https://redirect.github.com/huggingface/safetensors/pull/345">huggingface/safetensors#345</a></li>
<li><a href="https://github.com/kevinhu"><code>@​kevinhu</code></a> made their first contribution in <a href="https://redirect.github.com/huggingface/safetensors/pull/356">huggingface/safetensors#356</a></li>
<li><a href="https://github.com/paulbricman"><code>@​paulbricman</code></a> made their first contribution in <a href="https://redirect.github.com/huggingface/safetensors/pull/359">huggingface/safetensors#359</a></li>
<li><a href="https://github.com/b-kamphorst"><code>@​b-kamphorst</code></a> made their first contribution in <a href="https://redirect.github.com/huggingface/safetensors/pull/365">huggingface/safetensors#365</a></li>
<li><a href="https://github.com/cccntu"><code>@​cccntu</code></a> made their first contribution in <a href="https://redirect.github.com/huggingface/safetensors/pull/377">huggingface/safetensors#377</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/huggingface/safetensors/compare/v0.3.2...v0.4.1rc1">https://github.com/huggingface/safetensors/compare/v0.3.2...v0.4.1rc1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/huggingface/safetensors/commit/cc43011eaae470d14c411b8ba243273135830ce7"><code>cc43011</code></a> New release.</li>
<li><a href="https://github.com/huggingface/safetensors/commit/9610b4fcbbcf9b242e56ec679c6d1fb1d9bdb64d"><code>9610b4f</code></a> Fix convert. (<a href="https://redirect.github.com/huggingface/safetensors/issues/390">#390</a>)</li>
<li><a href="https://github.com/huggingface/safetensors/commit/094e676b371763498a5d04a28477a7ef0fb6f6a8"><code>094e676</code></a> Adding support for Ascend NPU (<a href="https://redirect.github.com/huggingface/safetensors/issues/372">#372</a>)</li>
<li><a href="https://github.com/huggingface/safetensors/commit/829bfa8f3db33d2c36fada5d02e3d6b6ba14911d"><code>829bfa8</code></a> Ignore closed PRs to avoid spam. (<a href="https://redirect.github.com/huggingface/safetensors/issues/385">#385</a>)</li>
<li><a href="https://github.com/huggingface/safetensors/commit/179943873766cd41b955d145137670706e161716"><code>1799438</code></a> Better convert. (<a href="https://redirect.github.com/huggingface/safetensors/issues/384">#384</a>)</li>
<li><a href="https://github.com/huggingface/safetensors/commit/7faab77eb0209f6e51fb13f7c87007789fc3935b"><code>7faab77</code></a> Support fp8_e4m3/fp8_e5m2 (<a href="https://redirect.github.com/huggingface/safetensors/issues/383">#383</a>)</li>
<li><a href="https://github.com/huggingface/safetensors/commit/bfd22b312ac56f35cb8cbb129714833b19529844"><code>bfd22b3</code></a> Fix typo (<a href="https://redirect.github.com/huggingface/safetensors/issues/377">#377</a>)</li>
<li><a href="https://github.com/huggingface/safetensors/commit/9e0bc087231b0109dc35b0473347bf7019f70dfc"><code>9e0bc08</code></a> Supporting bfloat16 for tensorflow + jax (was failing because of (<a href="https://redirect.github.com/huggingface/safetensors/issues/382">#382</a>)</li>
<li>See full diff in <a href="https://github.com/huggingface/safetensors/compare/v0.4.0...v0.4.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=safetensors&package-manager=pip&previous-version=0.4.0&new-version=0.4.1)](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)


</details>