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

[TTS] Scale sampler steps by number of devices #7947

Merged
merged 1 commit into from
Dec 13, 2023
Merged

[TTS] Scale sampler steps by number of devices #7947

merged 1 commit into from
Dec 13, 2023

Conversation

rlangman
Copy link
Collaborator

What does this PR do ?

The weighted random sampler is configured to produce a fixed number of training samples during each epoch. This means if you use multiple GPUs, then the number of steps in each epoch is scaled down by the number of GPUs. This change multiplies the number of samples by the world size to keep the step count independent of number of GPUs used.

Collection: [TTS]

Changelog

  • Scale number of samples per epoch by world size when using weighted random sampler.

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you add or update any necessary documentation?
  • Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
    • Reviewer: Does the PR have correct import guards for all optional libraries?

PR Type:

  • New Feature
  • Bugfix
  • Documentation

Copy link
Contributor

This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Dec 12, 2023
@anteju
Copy link
Collaborator

anteju commented Dec 13, 2023

jenkins

@github-actions github-actions bot removed the stale label Dec 13, 2023
@rlangman rlangman merged commit 8216178 into main Dec 13, 2023
15 checks passed
@rlangman rlangman deleted the tts_steps branch December 13, 2023 19:04
pzelasko pushed a commit to pzelasko/NeMo that referenced this pull request Jan 3, 2024
ssh-meister pushed a commit to ssh-meister/NeMo that referenced this pull request Feb 15, 2024
rohitrango pushed a commit to rohitrango/NeMo that referenced this pull request Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants