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

Fixing the speed slow-down for speech models. #4260

Merged
merged 2 commits into from
May 25, 2022

Conversation

VahidooX
Copy link
Collaborator

Signed-off-by: vahidoox vnoroozi@nvidia.com

What does this PR do ?

There was a slow down in speech models when upgraded to PTL 1.6. They changed the default of trainer.benchmark to True which slows down model with variable input lengths including speech models. This PR set all the trainer.benchmark to false for all speech models.

Changelog

Fixed the speed slow-down for speech models by setting benchmark=false for all speech configs.

PR Type:

  • New Feature
  • Bugfix
  • Documentation

Signed-off-by: vahidoox <vnoroozi@nvidia.com>
Copy link
Collaborator

@titu1994 titu1994 left a comment

Choose a reason for hiding this comment

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

Looks great, thanks !

@titu1994 titu1994 merged commit 23b3153 into NVIDIA:main May 25, 2022
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