Skip to content

Bump sentence-transformers from 5.1.1 to 5.1.2 in /backend-agent#141

Merged
marcorosa merged 1 commit intodevelopfrom
dependabot/uv/backend-agent/develop/sentence-transformers-5.1.2
Nov 4, 2025
Merged

Bump sentence-transformers from 5.1.1 to 5.1.2 in /backend-agent#141
marcorosa merged 1 commit intodevelopfrom
dependabot/uv/backend-agent/develop/sentence-transformers-5.1.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Oct 26, 2025

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)

@dependabot dependabot bot added backend Related to the flask backend and general Python stuff dependencies Pull requests that update a dependency file labels Oct 26, 2025
@dependabot dependabot bot requested a review from a team as a code owner October 26, 2025 19:06
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 26, 2025
@github-actions
Copy link
Copy Markdown
Contributor

The change in the pyproject.toml file involves updating the version of the sentence-transformers package from version 5.1.1 to 5.1.2. This is a minor version update, likely to include bug fixes, minor improvements, or optimizations while maintaining backward compatibility.

Walkthrough

  • Chore: Updated sentence-transformers from version 5.1.1 to 5.1.2, which might include minor bug fixes or improvements aimed at enhancing the user experience or performance without introducing breaking changes. Users can benefit from a potentially more stable and efficient library.

Model: gpt-4o | Prompt Tokens: 300 | Completion Tokens: 128

Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's a thoughtful code review enhanced with AI assistance. These suggestions offer potential improvements and insights to consider, though they're recommendations rather than requirements. You have full control over which feedback to incorporate into your work. The AI tools simply provide additional perspective to support your decision-making process and help identify opportunities for enhancement.


Always critique what AI says. Do not let AI replace YOUR I.
Model: anthropic--claude-4-sonnet | Prompt Tokens: 856 | Completion Tokens: 254

'gptfuzzer @ git+https://github.com/marcorosa/GPTFuzz@no-vllm',
'garak==0.11.0',
'sentence-transformers==5.1.1',
'sentence-transformers==5.1.2',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good practice updating the sentence-transformers dependency to the latest patch version. However, consider documenting the reason for this version bump in your commit message or changelog. You may also want to verify that this version update doesn't introduce any breaking changes by running your test suite.

For better dependency management, consider using version ranges instead of pinning exact versions for patch updates:

'sentence-transformers>=5.1.1,<5.2.0',

This allows automatic patch updates while preventing potentially breaking minor version changes.

Bumps [sentence-transformers](https://github.com/huggingface/sentence-transformers) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/huggingface/sentence-transformers/releases)
- [Commits](huggingface/sentence-transformers@v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: sentence-transformers
  dependency-version: 5.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/uv/backend-agent/develop/sentence-transformers-5.1.2 branch from fabdd7b to db256c9 Compare November 4, 2025 09:02
@marcorosa marcorosa merged commit d0e0552 into develop Nov 4, 2025
3 checks passed
@marcorosa marcorosa deleted the dependabot/uv/backend-agent/develop/sentence-transformers-5.1.2 branch November 4, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Related to the flask backend and general Python stuff dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant