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

Avoid the second basic propagation iteration to confirm convergence in production builds. #400

Merged
merged 1 commit into from
Mar 1, 2025

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Feb 28, 2025

Avoid the second basic propagation iteration to confirm convergence in production builds.

We know that a single iteration is enough to converge as we add affected ops back to the worklist. Removing the extra iteration for convergence check reduces the pass time by ~33%. This would also allow op priority propagation to have more iterations without the overhead of the extra convergence check iteration.

In debug builds, we won't fail if failed to converge, but issue a warning instead.

In addition, remove strided view warning as we no longer need it to know there are cases that would benefit from support.

@copybara-service copybara-service bot force-pushed the test_731657369 branch 3 times, most recently from 1a2f490 to c078f70 Compare March 1, 2025 11:05
…n production builds.

We know that a single iteration is enough to converge as we add affected ops back to the worklist. Removing the extra iteration for convergence check reduces the pass time by ~33%. This would also allow op priority propagation to have more iterations without the overhead of the extra convergence check iteration.

In debug builds, we won't fail if failed to converge, but issue a warning instead.

In addition, remove strided view warning as we no longer need it to know there are cases that would benefit from support.

PiperOrigin-RevId: 732412330
@copybara-service copybara-service bot merged commit d564374 into main Mar 1, 2025
@copybara-service copybara-service bot deleted the test_731657369 branch March 1, 2025 11:30
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.

1 participant