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

Set can_generate for SpeechT5ForTextToSpeech #25493

Merged

Conversation

ylacombe
Copy link
Contributor

What does this PR do?

Following the discussion on checking whether the generate or forward method will be used in the TTS pipeline, it makes sense to set can_generate=True for SpeechT5ForTextToSpeech, so that it's easier to check if it can generate.

Before submitting

  • Was this discussed/approved via a Github issue or the forum?

Who can review?

Hey @sanchit-gandhi and @sgugger , what do you think of this??
Thanks!

@ylacombe ylacombe mentioned this pull request Aug 14, 2023
5 tasks
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Aug 14, 2023

The documentation is not available anymore as the PR was closed or merged.

Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this!

Copy link
Contributor

@sanchit-gandhi sanchit-gandhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - this is consistent with the rest of the library for developing the TTS pipeline in #24952

@sanchit-gandhi sanchit-gandhi merged commit ee7d669 into huggingface:main Aug 14, 2023
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.

4 participants