Open
Description
System Info
@huggingface/transformers": "^3.5.1"
"react": "^18.2.0"
Environment/Platform
- Website/web-app
- Browser extension
- Server-side (e.g., Node.js, Deno, Bun)
- Desktop app (e.g., Electron)
- Other (e.g., VSCode extension)
Description
I am using the musicgen-web example from the example in transformer.js repo.
I updated the imports accordingly to the huggingface/transformers version in system info.
When I change the device from wasm
to webgpu
the music that gets generated is just a loud electrical hum.
2025-05-04.10-50-35.mp4
Reproduction
Steps to reproduce the behaviour:
- clone the repository
- use the musicgen-web example
- update the dependency via npm install @huggingface/transformers
- change
device wasm
todevice: webgpu
- npm install and run the example
- generate music with any configuration