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

optimize clip_grad_norm_ function #4915

Merged
merged 4 commits into from
Feb 7, 2024

Conversation

mmhab
Copy link
Contributor

@mmhab mmhab commented Jan 8, 2024

Optimize clip_grad_norm_ function by removing .item() calls to reduce wait time for the device on the host.

Optimize clip_grad_norm_ function by removing .item() calls to reduce wait time for the device on the host.
@mmhab mmhab force-pushed the optimize_clip_grad_norm_ branch from 2865e2d to 9949642 Compare January 21, 2024 09:07
@nelyahu
Copy link
Contributor

nelyahu commented Jan 28, 2024

@tjruwase can test workflows be triggered on this PR? thanks

@tjruwase tjruwase added this pull request to the merge queue Jan 29, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 29, 2024
@nelyahu
Copy link
Contributor

nelyahu commented Jan 30, 2024

@tjruwase can this commit be re-added to merge queue? we could not reproduce the merge queue failure locally, probably some other instability.

@tjruwase tjruwase added this pull request to the merge queue Jan 30, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 30, 2024
@mmhab
Copy link
Contributor Author

mmhab commented Jan 31, 2024

Still getting failures that don't reproduce locally.
@tjruwase do you know what is the problem?

@tjruwase tjruwase added this pull request to the merge queue Jan 31, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 31, 2024
@tjruwase tjruwase added this pull request to the merge queue Jan 31, 2024
@tjruwase
Copy link
Contributor

@tjruwase do you know what is the problem?

Sorry about the inconvenience, we will take a look.

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 31, 2024
@tjruwase tjruwase added this pull request to the merge queue Feb 7, 2024
Merged via the queue into microsoft:master with commit 961bc85 Feb 7, 2024
12 checks passed
mauryaavinash95 pushed a commit to mauryaavinash95/DeepSpeed that referenced this pull request Feb 17, 2024
Optimize clip_grad_norm_ function by removing .item() calls to reduce
wait time for the device on the host.

Co-authored-by: Olatunji Ruwase <olruwase@microsoft.com>
Co-authored-by: Michael Wyatt <michaelwyatt@microsoft.com>
rraminen pushed a commit to ROCm/DeepSpeed that referenced this pull request May 9, 2024
Optimize clip_grad_norm_ function by removing .item() calls to reduce
wait time for the device on the host.

Co-authored-by: Olatunji Ruwase <olruwase@microsoft.com>
Co-authored-by: Michael Wyatt <michaelwyatt@microsoft.com>
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