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

Split RunAndCompare with reference backend functionality into a mixin. #21150

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

copybara-service[bot]
Copy link

Split RunAndCompare with reference backend functionality into a mixin.

Many users don't require RunAndCompare functionality, but are forced to select
and initialize a reference backend anyway.

With this change, users can opt to extend their specific
HloRunnerAgnosticTestBase implementation to add RunAndCompare functionality.
The mixin acts as a wrapper around any HloRunnerAgnosticTestBase
implementation, allowing a high degree of customization.

@copybara-service copybara-service bot force-pushed the test_713316671 branch 2 times, most recently from dd97e16 to 3204cd9 Compare January 10, 2025 17:22
Many users don't require `RunAndCompare` functionality, but are forced to select
and initialize a reference backend anyway.

With this change, users can opt to extend their specific
`HloRunnerAgnosticTestBase` implementation to add `RunAndCompare` functionality.
The mixin acts as a wrapper around any `HloRunnerAgnosticTestBase`
implementation, allowing a high degree of customization.

PiperOrigin-RevId: 714085396
@copybara-service copybara-service bot merged commit 08dcaad into main Jan 10, 2025
@copybara-service copybara-service bot deleted the test_713316671 branch January 10, 2025 17:58
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