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

Fix musicgen build issue #1080

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SeanGallen
Copy link
Contributor

@SeanGallen SeanGallen commented Dec 7, 2024

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

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

Successfully merging this pull request may close these issues.

1 participant