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

Avoid repeated dictionary and model loading in DiffSingerBasePhonemizer #1255

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

yqzhishen
Copy link
Contributor

@yqzhishen yqzhishen commented Aug 26, 2024

The former code loads the dictionary and duration model every time the phonemizer runs (include every single edit on the segments). This PR fixes this bug and the phonemizer no longer stucks.

@yqzhishen
Copy link
Contributor Author

There seems like a conflict between this PR and #1248 in the return type of method DiffSingerBasePhonemizer._executeSetSinger(). If one is merged, the other should be modified, otherwise the project will not compile.

@stakira stakira merged commit a25ac24 into stakira:master Sep 1, 2024
3 checks passed
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.

2 participants