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

Adding multi gpu speech generation #3149

Merged

Conversation

dame-cell
Copy link
Contributor

What does this PR do?

This PR adds a distributed speech data generation example using facebook/mms-tts-eng

#3078

Note

  • Tested it on two t4 GPUs

  • For two gpu

  • Generating Pokemon descriptions: 100%|██████████| 52/52 [00:26<00:00, 1.99it/s]

  • For one gpu

  • Generating Pokemon descriptions: 100%|██████████| 105/105 [00:50<00:00, 2.07it/s]

  • The example was tested using a very small dataset. If you'd like me to experiment with a different dataset, please let me know!

Who can review?

@sayakpaul

@sayakpaul sayakpaul requested review from muellerzr and SunMarc October 9, 2024 13:59
Copy link
Collaborator

@muellerzr muellerzr 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 example! Very well done.

Just a few nits to be consistent with the rest of the examples, and some suggestions on using more of what's available in accelerate 🤗 🚀

@dame-cell
Copy link
Contributor Author

@muellerzr i did what you said

Copy link
Collaborator

@muellerzr muellerzr left a comment

Choose a reason for hiding this comment

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

Thanks so much! This looks great :)

@muellerzr
Copy link
Collaborator

cc @SunMarc for a second glance and then we can merge ✅

Copy link
Member

@SunMarc SunMarc left a comment

Choose a reason for hiding this comment

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

Nice ! Thanks for contributing !

@muellerzr muellerzr merged commit f1f2b4d into huggingface:main Oct 10, 2024
25 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.

3 participants