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

Layer norm fusion deepspeed stage3 changes #17614

Merged
merged 12 commits into from
Sep 21, 2023

Conversation

ajindal1
Copy link
Contributor

@ajindal1 ajindal1 commented Sep 19, 2023

Description

Layer norm fusion changes required for deepspeed stage 3, also includes test case.

Motivation and Context

It helps fusing layer norm for Deepspeed Stage 3. Added a test case scenario which ensures that the fusion is working properly for the scenario.

@ajindal1 ajindal1 marked this pull request as ready for review September 19, 2023 23:38
@pengwa pengwa added the training issues related to ONNX Runtime training; typically submitted using template label Sep 21, 2023
@ajindal1 ajindal1 requested a review from pengwa September 21, 2023 16:31
Copy link
Contributor

@hanbitmyths hanbitmyths left a comment

Choose a reason for hiding this comment

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

LGTM

@ajindal1 ajindal1 merged commit d56fc7e into main Sep 21, 2023
@ajindal1 ajindal1 deleted the abjindal/layer_norm_fusion_deepspeed_stage3_changes branch September 21, 2023 21:16
kleiti pushed a commit to kleiti/onnxruntime that referenced this pull request Mar 22, 2024
### Description
<!-- Describe your changes. -->
Layer norm fusion changes required for deepspeed stage 3, also includes
test case.


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
It helps fusing layer norm for Deepspeed Stage 3. Added a test case
scenario which ensures that the fusion is working properly for the
scenario.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
training issues related to ONNX Runtime training; typically submitted using template
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants