Skip to content

Mark test_layerwise_upcasting as is_flaky #11282

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

Closed
wants to merge 1 commit into from

Conversation

hlky
Copy link
Contributor

@hlky hlky commented Apr 10, 2025

What does this PR do?

https://github.com/huggingface/diffusers/actions/runs/14371854670/job/40296313951?pr=11268#step:7:8122

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@hlky hlky force-pushed the test-layerwise-casting branch from 7b58b1d to 6222f4d Compare April 10, 2025 11:21
@hlky hlky changed the title [do not merge] Check layerwise casting diff Mark test_layerwise_upcasting as is_flaky Apr 10, 2025
@hlky hlky marked this pull request as ready for review April 10, 2025 11:22
@hlky hlky requested a review from sayakpaul April 10, 2025 11:22
@@ -1436,6 +1437,7 @@ def test_fn(storage_dtype, compute_dtype):
test_fn(torch.float8_e5m2, torch.float32)
test_fn(torch.float8_e4m3fn, torch.bfloat16)

@is_flaky
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's only for test_models_autoencoder_hunyuan_video.py, I would consider subclassing it inside AutoencoderKLHunyuanVideoTests and decorating it with is_flaky.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These tests haven't been running on CI for a while due to the unclip issue so it is potentially flaky for other models too.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would prefer confirming that first before marking all tests as flaky when they appear to be not.

@hlky hlky closed this Apr 15, 2025
@hlky hlky deleted the test-layerwise-casting branch April 15, 2025 09:13
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

2 participants