-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[Tests] Fix more tests sayak #10359
[Tests] Fix more tests sayak #10359
Conversation
@skip_mps | ||
@pytest.mark.xfail( | ||
condition=torch.device(torch_device).type == "cpu" and is_torch_version(">=", "2.5"), | ||
reason="Test currently fails on CPU and PyTorch 2.5.1 but not on PyTorch 2.4.1.", | ||
strict=True, | ||
) |
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.
We don't need it here as it's implemented in tests/lora/utils.py
.
@pytest.mark.xfail( | ||
condition=torch.device(torch_device).type == "cpu" and is_torch_version(">=", "2.5"), | ||
reason="Test currently fails on CPU and PyTorch 2.5.1 but not on PyTorch 2.4.1.", | ||
strict=True, | ||
) |
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.
Same.
@pytest.mark.xfail( | ||
condition=torch.device(torch_device).type == "cpu" and is_torch_version(">=", "2.5"), |
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.
Same.
@@ -1528,7 +1528,7 @@ def test_simple_inference_with_text_denoiser_multi_adapter_weighted(self): | |||
@pytest.mark.xfail( | |||
condition=torch.device(torch_device).type == "cpu" and is_torch_version(">=", "2.5"), | |||
reason="Test currently fails on CPU and PyTorch 2.5.1 but not on PyTorch 2.4.1.", | |||
strict=True, | |||
strict=False, |
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.
This is because on CPU and PyTorch 2.5.1, SANA and HunyuanVideo pass this test. On GPU all pipelines pass this test.
What does this PR do?
device_map
#9442 should be closed after this PR is merged.