Bump @xenova/transformers from 2.0.1 to 2.17.2 - #79
Conversation
Bumps [@xenova/transformers](https://github.com/xenova/transformers.js) from 2.0.1 to 2.17.2. - [Release notes](https://github.com/xenova/transformers.js/releases) - [Commits](huggingface/transformers.js@2.0.1...2.17.2) --- updated-dependencies: - dependency-name: "@xenova/transformers" dependency-version: 2.17.2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 28bd36a. Configure here.
| "dependencies": { | ||
| "@pinecone-database/pinecone": "^8.2.0", | ||
| "@xenova/transformers": "2.0.1", | ||
| "@xenova/transformers": "2.17.2", |
There was a problem hiding this comment.
Embeddings lose default pooling
High Severity
Upgrading @xenova/transformers from 2.0.1 to 2.17.2 changes the default embeddings/feature-extraction output from a pooled 384-d vector to per-token hidden states. embed() still calls the pipeline with no pooling or normalize options and flattens result.data, so upserts and queries send vectors whose length is sequence_length * 384 instead of 384, which will fail against the 384-dimension Pinecone index.
Reviewed by Cursor Bugbot for commit 28bd36a. Configure here.


Bumps @xenova/transformers from 2.0.1 to 2.17.2.
Release notes
Sourced from @xenova/transformers's releases.
... (truncated)
Commits
da26886[version] Update to 2.17.2f542c52Update Next.js demos to 14.2.3 (#772)64b3da6Update pipelines.js to allow fortoken_embeddingsas well (#770)250fcd7Add model file name (#594)db9250bAdd sequence post processor (#771)e50f568Add support for FastViT (#749)da0e920Auto rotate image (#737)8d166caOptimize FFT (#766)8963720Fix CI - update tests.yml (#768)0af1e2fRemove old import fromstream/webforReadableStream(#752)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Note
Medium Risk
Large dependency jump on the embedding/inference path with nested ONNX runtime version pinning; behavior or vector outputs could change until integration tests pass.
Overview
Bumps
@xenova/transformersfrom 2.0.1 to 2.17.2 inpackage.jsonand refreshespackage-lock.json. There are no application source changes; embedding still goes through the samepipeline('embeddings', 'Xenova/all-MiniLM-L6-v2')usage.The lockfile shifts how Transformers.js pulls in ONNX: it adds
@huggingface/jinja, pinsonnxruntime-web/ optionalonnxruntime-nodeto 1.14.0 under@xenova/transformers, and adjusts related transitive packages (flatbuffers,long,protobufjs,onnx-proto). Top-levelonnxruntime-noderemains^1.14.0inpackage.json, so you may have both 1.27.x (direct) and 1.14.0 (nested) in the tree—worth watching for inference/runtime quirks.Reviewed by Cursor Bugbot for commit 28bd36a. Bugbot is set up for automated code reviews on this repo. Configure here.