Skip to content

maudnals/parcel-transformersjs3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parcel bundler with Transformers.js v3

  • This demo uses Transformers.js v^3.0.2.
  • The build fails: "Failed to resolve '#onnxruntime-webgpu'"

(As a result, I couldn't reproduce the getModelJSON bug observed in Transformers.js v2).

To run:

  • npm i (once)
  • npm run dev

Behavior:

Build fails with "@parcel/core: Failed to resolve '#onnxruntime-webgpu' from './node_modules/@huggingface/transformers/src/backends/onnx.js'"

image

About

Repro of a build error

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published