[PR #18770] [CLOSED] chore(deps): bump sentence-transformers from 5.1.1 to 5.1.2 in /backend #11715

Closed
opened 2025-11-11 19:39:24 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/18770
Author: @dependabot[bot]
Created: 11/1/2025
Status: Closed

Base: devHead: dependabot/pip/backend/dev/sentence-transformers-5.1.2


📝 Commits (1)

  • 6b7fa02 chore(deps): bump sentence-transformers from 5.1.1 to 5.1.2 in /backend

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 backend/requirements.txt (+1 -1)

📄 Description

Bumps sentence-transformers from 5.1.1 to 5.1.2.

Release notes

Sourced from sentence-transformers's releases.

v5.1.2 - Sentence Transformers joins Hugging Face; model saving/loading improvements and loss compatibility

This patch celebrates the transition of Sentence Transformers to Hugging Face, and improves model saving, loading defaults, and loss compatibilities.

Install this version with

# Training + Inference
pip install sentence-transformers[train]==5.1.2

Inference only, use one of:

pip install sentence-transformers==5.1.2 pip install sentence-transformers[onnx-gpu]==5.1.2 pip install sentence-transformers[onnx]==5.1.2 pip install sentence-transformers[openvino]==5.1.2

Sentence Transformers is joining Hugging Face!

Today, Sentence Transformers is moving from the Ubiquitous Knowledge Processing (UKP) Lab at Technische Universität Darmstadt to Hugging Face. This formalizes the existing maintenance structure, as Tom Aarsen (that's me!) from Hugging Face has been maintaining the project for the past two years. The project's development roadmap, license, support, and commitment to the community remain unchanged. Read the full announcement for more details!

Minor changes re. saving and loading

  • Improve saving models with StaticEmbedding (#3524) and Dense (#3528) modules.
  • Fix training with CPU when "stronger" devices (CUDA, MPS) are available (#3525)
  • Default to 'xpu' device over 'cpu' if the former is available (#3537)

Minor changes re. losses

  • Change errors/warnings for MatryoshkaLoss to prevent easy-to-make mistakes, e.g. forgetting to use the original dimension (#3530)
  • Introduce compatibility between MSELoss and MatryoshkaLoss (#3538)
  • Also use mini-batches for positives with MegaBatchMarginLoss (#3550)

All Changes

... (truncated)

Commits

Dependabot compatibility score

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 commands and options

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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/18770 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 11/1/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dependabot/pip/backend/dev/sentence-transformers-5.1.2` --- ### 📝 Commits (1) - [`6b7fa02`](https://github.com/open-webui/open-webui/commit/6b7fa02ff2027d6b0018e24047ff4a5487639003) chore(deps): bump sentence-transformers from 5.1.1 to 5.1.2 in /backend ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/requirements.txt` (+1 -1) </details> ### 📄 Description Bumps [sentence-transformers](https://github.com/huggingface/sentence-transformers) from 5.1.1 to 5.1.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/huggingface/sentence-transformers/releases">sentence-transformers's releases</a>.</em></p> <blockquote> <h2>v5.1.2 - Sentence Transformers joins Hugging Face; model saving/loading improvements and loss compatibility</h2> <p>This patch celebrates the transition of Sentence Transformers to Hugging Face, and improves model saving, loading defaults, and loss compatibilities.</p> <p>Install this version with</p> <pre lang="bash"><code># Training + Inference pip install sentence-transformers[train]==5.1.2 <h1>Inference only, use one of:</h1> <p>pip install sentence-transformers==5.1.2 pip install sentence-transformers[onnx-gpu]==5.1.2 pip install sentence-transformers[onnx]==5.1.2 pip install sentence-transformers[openvino]==5.1.2 </code></pre></p> <h2>Sentence Transformers is joining Hugging Face!</h2> <p>Today, Sentence Transformers is moving from the <a href="http://www.ukp.tu-darmstadt.de/">Ubiquitous Knowledge Processing (UKP) Lab</a> at Technische Universität Darmstadt to <a href="https://huggingface.co/">Hugging Face</a>. This formalizes the existing maintenance structure, as Tom Aarsen (that's me!) from Hugging Face has been maintaining the project for the past two years. The project's development roadmap, license, support, and commitment to the community remain unchanged. Read the <a href="https://huggingface.co/blog/sentence-transformers-joins-hf">full announcement</a> for more details!</p> <!-- raw HTML omitted --> <h2>Minor changes re. saving and loading</h2> <ul> <li>Improve saving models with StaticEmbedding (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3524">#3524</a>) and Dense (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3528">#3528</a>) modules.</li> <li>Fix training with CPU when &quot;stronger&quot; devices (CUDA, MPS) are available (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3525">#3525</a>)</li> <li>Default to 'xpu' device over 'cpu' if the former is available (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3537">#3537</a>)</li> </ul> <h2>Minor changes re. losses</h2> <ul> <li>Change errors/warnings for MatryoshkaLoss to prevent easy-to-make mistakes, e.g. forgetting to use the original dimension (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3530">#3530</a>)</li> <li>Introduce compatibility between MSELoss and MatryoshkaLoss (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3538">#3538</a>)</li> <li>Also use mini-batches for positives with MegaBatchMarginLoss (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3550">#3550</a>)</li> </ul> <h2>All Changes</h2> <ul> <li>fix: static model saving fails because weights are not contiguous by <a href="https://github.com/stephantul"><code>@​stephantul</code></a> in <a href="https://redirect.github.com/UKPLab/sentence-transformers/pull/3524">UKPLab/sentence-transformers#3524</a></li> <li>bug: fix state bug in trainer by <a href="https://github.com/stephantul"><code>@​stephantul</code></a> in <a href="https://redirect.github.com/UKPLab/sentence-transformers/pull/3525">UKPLab/sentence-transformers#3525</a></li> <li>[<code>fix</code>] Patch Router training with Cached losses by <a href="https://github.com/tomaarsen"><code>@​tomaarsen</code></a> in <a href="https://redirect.github.com/UKPLab/sentence-transformers/pull/3527">UKPLab/sentence-transformers#3527</a></li> <li>[<code>fix</code>] Allow loading Dense modules not saved in fp32 by <a href="https://github.com/tomaarsen"><code>@​tomaarsen</code></a> in <a href="https://redirect.github.com/UKPLab/sentence-transformers/pull/3528">UKPLab/sentence-transformers#3528</a></li> <li>[<code>tests</code>] Patch Regex expected output for Python 3.9 by <a href="https://github.com/tomaarsen"><code>@​tomaarsen</code></a> in <a href="https://redirect.github.com/UKPLab/sentence-transformers/pull/3529">UKPLab/sentence-transformers#3529</a></li> <li>Future-proof tests for upcoming transformers version by <a href="https://github.com/tomaarsen"><code>@​tomaarsen</code></a> in <a href="https://redirect.github.com/UKPLab/sentence-transformers/pull/3533">UKPLab/sentence-transformers#3533</a></li> <li>feat: matryoshka dims bounds checks and warning by <a href="https://github.com/stephantul"><code>@​stephantul</code></a> in <a href="https://redirect.github.com/UKPLab/sentence-transformers/pull/3530">UKPLab/sentence-transformers#3530</a></li> <li>Performance table format and Few markdownlint error correction by <a href="https://github.com/kaushikacharya"><code>@​kaushikacharya</code></a> in <a href="https://redirect.github.com/UKPLab/sentence-transformers/pull/3534">UKPLab/sentence-transformers#3534</a></li> <li>fix typos: inaccuracte -&gt; inaccurate by <a href="https://github.com/whybe-choi"><code>@​whybe-choi</code></a> in <a href="https://redirect.github.com/UKPLab/sentence-transformers/pull/3542">UKPLab/sentence-transformers#3542</a></li> <li>[<code>fix</code>] correct dataset link in training scripts by <a href="https://github.com/thomasht86"><code>@​thomasht86</code></a> in <a href="https://redirect.github.com/UKPLab/sentence-transformers/pull/3543">UKPLab/sentence-transformers#3543</a></li> <li>[<code>fix</code>] Allow MatryoshkaLoss with MSELoss by <a href="https://github.com/tomaarsen"><code>@​tomaarsen</code></a> in <a href="https://redirect.github.com/UKPLab/sentence-transformers/pull/3538">UKPLab/sentence-transformers#3538</a></li> <li>[<code>docs</code>] Format all markdown using mdformat by <a href="https://github.com/tomaarsen"><code>@​tomaarsen</code></a> in <a href="https://redirect.github.com/UKPLab/sentence-transformers/pull/3539">UKPLab/sentence-transformers#3539</a></li> <li>feat: provide support for python 3.13 by <a href="https://github.com/lordoffreaks"><code>@​lordoffreaks</code></a> in <a href="https://redirect.github.com/UKPLab/sentence-transformers/pull/3551">UKPLab/sentence-transformers#3551</a></li> <li>Update MTEB docs to v2 by <a href="https://github.com/KennethEnevoldsen"><code>@​KennethEnevoldsen</code></a> in <a href="https://redirect.github.com/UKPLab/sentence-transformers/pull/3548">UKPLab/sentence-transformers#3548</a></li> <li>Add support for Intel 'xpu' device in environment.py by <a href="https://github.com/domschl"><code>@​domschl</code></a> in <a href="https://redirect.github.com/UKPLab/sentence-transformers/pull/3537">UKPLab/sentence-transformers#3537</a></li> <li>docs: Update project metadata by <a href="https://github.com/tomaarsen"><code>@​tomaarsen</code></a> in <a href="https://redirect.github.com/huggingface/sentence-transformers/pull/3553">huggingface/sentence-transformers#3553</a></li> <li>MegaBatchMarginLoss use mini batches for positives too by <a href="https://github.com/benHeid"><code>@​benHeid</code></a> in <a href="https://redirect.github.com/huggingface/sentence-transformers/pull/3550">huggingface/sentence-transformers#3550</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/huggingface/sentence-transformers/commit/dfcbbd93056c6292ee6a245c0740683a270df0b1"><code>dfcbbd9</code></a> Release v5.1.2</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/9cfa9adf7f3fc780f100b1e02983b1031ebcc47d"><code>9cfa9ad</code></a> Merge branch 'master' into v5.1-release</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/85ec64559f4414aa536eca4bf53538291e0a333f"><code>85ec645</code></a> <code>MegaBatchMarginLoss</code> use mini batches for positives too (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3550">#3550</a>)</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/8e4c85b2d91fd7571e17927cdc8cfcaef6656064"><code>8e4c85b</code></a> docs: Update project metadata (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3553">#3553</a>)</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/222006286223ced60f9e100199bd70383388e20f"><code>2220062</code></a> Add support for Intel 'xpu' device in environment.py (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3537">#3537</a>)</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/315a67d8aa1fbbd0af319d175fe3498fed1d5d46"><code>315a67d</code></a> Update MTEB docs to v2 (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3548">#3548</a>)</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/471387eb1e550ea831424b8b87b3f7aab74f3168"><code>471387e</code></a> chore: add python 3.13 to CI and classifiers (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3551">#3551</a>)</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/77ae248711b40b4b6264aa4b351c53507fd45daa"><code>77ae248</code></a> docs: Format all markdown using mdformat (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3539">#3539</a>)</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/b84cc32ee38fdb481ee1c2dd5c106932fec3802f"><code>b84cc32</code></a> [<code>fix</code>] Allow MatryoshkaLoss with MSELoss (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3538">#3538</a>)</li> <li><a href="https://github.com/huggingface/sentence-transformers/commit/051ce1a5f84f46f4b97b0074c3dc76fee2114ee4"><code>051ce1a</code></a> Correct link in example training scripts (<a href="https://redirect.github.com/huggingface/sentence-transformers/issues/3543">#3543</a>)</li> <li>Additional commits viewable in <a href="https://github.com/huggingface/sentence-transformers/compare/v5.1.1...v5.1.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sentence-transformers&package-manager=pip&previous-version=5.1.1&new-version=5.1.2)](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> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 19:39:24 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#11715