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

Fix SkipLayerNormFusion incorrectly setting modified every time it runs #21502

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

skottmckay
Copy link
Contributor

Description

Current behavior forces all L2 optimizers to loop until they hit the max number of iterations.

Only update modified if the graph was modified.

Motivation and Context

Fix unnecessary loops of L2 optimizers during model loading.

Current behavior forces all L2 optimizers to loop until they hit the max number of iterations.
@skottmckay skottmckay merged commit e5302b2 into main Jul 26, 2024
97 of 99 checks passed
@skottmckay skottmckay deleted the skottmckay/FixSkipLayerNormFusionSettingModified branch July 26, 2024 00:00
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