Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

Upgrade transformers.js to v3 #50

@NingW101

Description

@NingW101

@huggingface/transformers has been announced to be available on NPM, we might try to upgrade it since we are using transformers-branch:v3-one_commit to leverage webgpu support.

Some notes and scenarios we should test:

  1. Package name changes: @xenova/transformers -> @huggingface/transformers, we should replace imports
  2. Does the api call change
  3. The version of the dependency ort-web, which affects the version of ort.wasm (we define it in the config.js file since we support a hosted mode to run demos completely offline)
  4. Does it match the examples leveraging wasm as a backend.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions