Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade transformers.js to v3 #50

Open
NingW101 opened this issue Aug 15, 2024 · 1 comment
Open

Upgrade transformers.js to v3 #50

NingW101 opened this issue Aug 15, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@NingW101
Copy link
Contributor

@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.
@NingW101 NingW101 self-assigned this Aug 15, 2024
@NingW101 NingW101 added the enhancement New feature or request label Aug 15, 2024
@NingW101
Copy link
Contributor Author

  1. Fix the bug of text-generation example, add TextStreamer for the TextGenerationPipeline [V3] Fix the bug of text-generation example huggingface/transformers.js#903

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant