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

Don't reset changed_ to false every time PerformSpaceToBatchOnConvolution is called. #64472

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

copybara-service[bot]
Copy link

Don't reset changed_ to false every time PerformSpaceToBatchOnConvolution is called.

For example after PropagateOnUsers is called, new broadcast instructions are added so changed_ should be true. This makes it possible for the hlo module to be saved after this pass has rewrote or added new hlo instructions (module pertaining to the pass is only saved if there are changes).

@copybara-service copybara-service bot force-pushed the exported_pr_619045068 branch 2 times, most recently from d04d4bf to 43096f0 Compare March 26, 2024 19:19
…tion is called.

For example after PropagateOnUsers is called, new broadcast instructions are added so changed_ should be true. This makes it possible for the hlo module to be saved after this pass has rewrote or added new hlo instructions (module pertaining to the pass is only saved if there are changes).

PiperOrigin-RevId: 619290345
@copybara-service copybara-service bot closed this Mar 26, 2024
@copybara-service copybara-service bot merged commit 15acdd7 into master Mar 26, 2024
@copybara-service copybara-service bot deleted the exported_pr_619045068 branch March 26, 2024 20:29
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.

None yet

1 participant