transformers.js
Fix musicgen build issue
#1080
Open

Fix musicgen build issue #1080

SeanGallen wants to merge 3 commits into huggingface:main from SeanGallen:fix-musicgen-build
SeanGallen
SeanGallen183 days ago (edited 173 days ago)

After looking into this bug with Musicgen-Web #1078, I was able to reproduce it. I notice the Transformesr.js dependence package was pointed to its previous location. I updated it to its new location "huggingface/transformers": "^3.1.2", and retested. It worked. I also remove the previous xenova/transformers library from my node_modules and any reference to it in the app.

I notice other examples also use the huggingface/transformers so I figured it was fine to make a PR and see if it will help others facing this issue.

Screenshot 2024-12-07 at 3 37 38 PM
SeanGallen update the transformers dependencies to itsnew location
46cb2b98
SeanGallen update to the latest version
7725bca0
SeanGallen updated the version
c9f897c1
SeanGallen SeanGallen force pushed from 729b9ed2 to c9f897c1 146 days ago
SeanGallen
SeanGallen146 days ago (edited 144 days ago)

Hi @xenova, could you please review these changes? If you're happy with them, I noticed a few other places with similar issues. I'd be happy to apply the same corrections to those as well, if you'd like.

Login to write a write a comment.

Login via GitHub

Reviewers
No reviews
Assignees
No one assigned
Labels
Milestone