-
Notifications
You must be signed in to change notification settings - Fork 6.5k
fix FluxReduxSlowTests::test_flux_redux_inference case failure on XPU #11245
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1347,7 +1347,7 @@ def test_components_function(self): | |
|
|
||
| @unittest.skipIf(torch_device not in ["cuda", "xpu"], reason="float16 requires CUDA or XPU") | ||
| @require_accelerator | ||
| def test_float16_inference(self, expected_max_diff=5e-2): | ||
| def test_float16_inference(self, expected_max_diff=6e-2): | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sorry, it's an un-deleted experimental change, will change back in next PR. Sorry for unnecessary confusion |
||
| components = self.get_dummy_components() | ||
| pipe = self.pipeline_class(**components) | ||
| for component in pipe.components.values(): | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks for updating this.