chore(deps-dev): bump @huggingface/transformers from 3.8.1 to 4.0.1#831
chore(deps-dev): bump @huggingface/transformers from 3.8.1 to 4.0.1#831dependabot[bot] wants to merge 1 commit intomainfrom
Conversation
Bumps [@huggingface/transformers](https://github.com/huggingface/transformers.js) from 3.8.1 to 4.0.1. - [Release notes](https://github.com/huggingface/transformers.js/releases) - [Commits](https://github.com/huggingface/transformers.js/commits) --- updated-dependencies: - dependency-name: "@huggingface/transformers" dependency-version: 4.0.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Greptile SummaryThis Dependabot PR bumps
Confidence Score: 4/5Unsafe to merge without fixing the quantized→dtype API change in models.ts; otherwise the upgrade is clean One clear P1: the src/domain/search/models.ts — needs Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[loadModel called] --> B{extractor cached?}
B -- yes --> C[Return cached extractor]
B -- no --> D[loadTransformers / dynamic import]
D --> E["pipeline('feature-extraction', modelName, pipelineOpts)"]
E --> F{config.quantized?}
F -- "v3: {quantized:true} → loads q8 model" --> G["✅ ~23 MB"]
F -- "v4: {quantized:true} ignored → loads fp32 model" --> H["⚠️ ~92 MB (4×)"]
F -- "Fix: {dtype:'q8'} → loads q8 model" --> I["✅ ~23 MB"]
G --> J[Extractor ready]
H --> J
I --> J
J --> K["extractor(batch, {pooling:'mean', normalize:true})"]
K --> L["output.data — flat Float32 array (unchanged in v4)"]
|
Bumps @huggingface/transformers from 3.8.1 to 4.0.1.
Release notes
Sourced from
@huggingface/transformers's releases.... (truncated)
Commits
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)