- 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'"