Skip to content

deps: bump sentence-transformers from 5.6.1 to 6.0.1 - #533

Merged
cdeust merged 3 commits into
mainfrom
dependabot/pip/sentence-transformers-6.0.1
Sep 10, 2026
Merged

cdeust merged 3 commits into
mainfrom
dependabot/pip/sentence-transformers-6.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Bumps sentence-transformers from 5.6.1 to 6.0.1.

Release notes

Sourced from sentence-transformers's releases.

v6.0.1 - Restore the PyLate prefix on prompted checkpoints, 80 documented multi-vector models

This patch release fixes a multi-vector loading bug: PyLate checkpoints that carry both a [Q]/[D] prefix and a text prompt lost the prefix, so they were encoded without a marker they were trained with. It also grows the documented multi-vector model tables from 51 checkpoints to 80.

Install this version with

# Training + Inference
pip install sentence-transformers[train]==6.0.1
Inference only, use one of:
pip install sentence-transformers==6.0.1
pip install sentence-transformers[onnx-gpu]==6.0.1
pip install sentence-transformers[onnx]==6.0.1
pip install sentence-transformers[openvino]==6.0.1
Multimodal dependencies (optional):
pip install sentence-transformers[image]==6.0.1
pip install sentence-transformers[audio]==6.0.1
pip install sentence-transformers[video]==6.0.1
Or combine as needed:
pip install sentence-transformers[train,onnx,image]==6.0.1

Compose the PyLate prefix with the saved prompt (#3968)

PyLate supports a prefix as well as prompt text, and Sentence Transformers assumed that these were mutually exclusive. However, the following three checkpoints carry both a prefix and a prompt, and were trained with the prefix prepended to the prompt text:

PyLate trained these checkpoints on [CLS] [Q] search_query: ... and [CLS] [D] search_document: ..., but Sentence Transformers dropped the prefix and encoded them as [CLS] search_query: ... and [CLS] search_document: .... After the fix, the performance of the ColBERT-Zero model improved from 0.6569 NDCG@10 to 0.6824 on the NanoBEIR benchmark. To my knowledge, only these 3 checkpoints used both a prefix and a prompt, so this is the only case where the bug would have affected you.

Forward task to routed modules in Router.preprocess (#3967)

Router.forward has always passed task down to the routed module, but Router.preprocess did not, so anything a module does with the task at preprocessing time did nothing behind a Router: query_length and document_length caps, query_expansion, and the chat-template task keyword. No released checkpoint combines a Router with those settings, so this is a latent bug rather than one you are likely to have hit. It would have affected anyone building such a model themselves, with no error to indicate it.

Documentation

  • The multi-vector pretrained models tables grew from 29 text and 22 visual document retrieval checkpoints to 38 and 42 (#3963, #3969), with revision and trust_remote_code notes refreshed as upstream pull requests merged (#3972).
  • Documented which Hub tag to filter on for each model type (#3964), and linked the Multi-Vector Encoder blogposts from the docs (#3966).
  • Added MultiVectorEncoder to the Agent Skill README and refreshed the SauerkrautLM scores (#3955).
  • Corrected the minimum versions in the README (#3952). It still recommended PyTorch 1.11.0+ and transformers v4.41.0+, where v6.0 requires PyTorch 2.2+ and transformers v5.0+. This is the text rendered as the PyPI project description.

All Changes

... (truncated)

Commits
  • b0acd1a Update README installation versions
  • 9b415ac Release v6.0.1
  • cc0669c Add/update revisions for pretrained MVE models (#3972)
  • f8390f4 [docs] Refresh the MultiVectorEncoder pretrained models tables (#3969)
  • 4b51722 [fix] Compose the PyLate prefix with the saved prompt (#3968)
  • e99c4a9 [fix] Forward task to routed modules in Router.preprocess (#3967)
  • 5d2ec93 [docs] Link the Multi-Vector Encoder blogposts (#3966)
  • 9c5de2a [docs] Clarify which Hub tags to filter on for each model type (#3964)
  • 83680bd [docs] Add more MultiVectorEncoder models to the pretrained models tables (#3...
  • 1a43278 docs: Add MultiVectorEncoder to the skills README, refresh the SauerkrautLM s...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Sep 9, 2026
Bumps [sentence-transformers](https://github.com/huggingface/sentence-transformers) from 5.6.1 to 6.0.1.
- [Release notes](https://github.com/huggingface/sentence-transformers/releases)
- [Commits](huggingface/sentence-transformers@v5.6.1...v6.0.1)

---
updated-dependencies:
- dependency-name: sentence-transformers
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/pip/sentence-transformers-6.0.1 branch from d386a32 to 53a70f6 Compare September 9, 2026 13:45
cdeust and others added 2 commits September 10, 2026 11:16
… launcher's own pin

Dependabot's commit hand-patched requirements/*.txt directly, leaving
pyproject.toml (already >=3.0.0, no change needed) and uv.lock untouched
(still 5.6.1), so the generator's uv.lock-vs-requirements check failed.
`uv lock --upgrade-package sentence-transformers` resolves cleanly to
6.0.1 with no other package moving.

scripts/launcher_pins.py (ADR-0750) hardcodes the exact version the
plugin's own installer pins independently of uv.lock, reconciled by
tests_py/scripts/test_launcher_pins_match_lock.py; it is bumped to match
or that test would have caught the drift.

Verified: `import sentence_transformers; .__version__` -> 6.0.1 inside the
uv-managed env; pytest test_launcher_pins_match_lock, test_embedding_engine,
test_embedding_prefix_feasibility, test_semantic_fallback_169,
test_doctor_mcp, test_precache_embedding_model_step, test_launcher_deps ->
180 passed, 7 skipped.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LSTGMnuSuUXWs7ZBofW1AW
@cdeust

cdeust commented Sep 10, 2026

Copy link
Copy Markdown
Owner

ZETETIC-REVIEW: APPROVE

Dependabot dependency bump: sentence-transformers 5.6.1 to 6.0.1 (direct, >=3.0.0 floor, major version). Dependabot's own commit had hand-patched requirements/*.txt directly without touching uv.lock, which is why Lint failed; fixed at the source with uv lock --upgrade-package sentence-transformers, resolving cleanly to 6.0.1 with nothing else moving. scripts/launcher_pins.py (ADR-0750) carries an independent, reconciliation-tested pin for the same package (the plugin's own installer, separate from the dev/test uv.lock env) — bumped to match, verified by tests_py/scripts/test_launcher_pins_match_lock.py.

Evidence: import sentence_transformers; .__version__ -> 6.0.1 inside the uv-managed env; pytest test_launcher_pins_match_lock, test_embedding_engine, test_embedding_prefix_feasibility, test_semantic_fallback_169, test_doctor_mcp, test_precache_embedding_model_step, test_launcher_deps -> 180 passed, 7 skipped. CI: 24 checks pass, 4 skipping, none failing.

@cdeust
cdeust merged commit a3b3a79 into main Sep 10, 2026
28 checks passed
@cdeust
cdeust deleted the dependabot/pip/sentence-transformers-6.0.1 branch September 10, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant