-
Notifications
You must be signed in to change notification settings - Fork 6.4k
[ci] xfail more incorrect transformer imports. #12455
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
base: main
Are you sure you want to change the base?
Conversation
assert deprecated_warning_msg in str(cap_logger), "Deprecation warning not found in logs" | ||
|
||
@pytest.mark.xfail(condition=is_transformers_version(">", "4.56.2"), reason="Some import error", strict=True) | ||
def test_download_safetensors_only_variant_exists_for_model(self): |
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.
Perhaps I am missing something, but it appears that this test (and test_download_safetensors_variant_does_not_exist_for_model
below) are still marked as failed rather than xfailed in the CI:
FAILED tests/pipelines/test_pipelines.py::DownloadTests::test_download_safetensors_only_variant_exists_for_model
FAILED tests/pipelines/test_pipelines.py::DownloadTests::test_download_safetensors_variant_does_not_exist_for_model
Is this expected?
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.
Yeah this is not expected and seeing for the first time. Let me check.
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.
It looks like the following tests are still failing on the CI:
tests/pipelines/test_pipelines.py::DownloadTests::test_download_bin_only_variant_exists_for_model
tests/pipelines/test_pipelines.py::DownloadTests::test_download_bin_variant_does_not_exist_for_model
These tests also previously failed on the (unrelated) PR #12463, see #12463 (comment). So probably these tests should also be xfail-ed?
Hmm, I am not sure why the Transformers version is showing up to 4.57.0-dev here: https://github.com/huggingface/diffusers/actions/runs/18487464650/job/52673652920?pr=12455#step:5:19 whereas it should have been 5.0.0-dev. My plate is a little full at the moment to dive deeper into it. So, I have made the xfail non-strict, which should hopefully unblock us. But I am open to other suggestions. To double-check, I tried to replicate the exact same CI environment:
|
What does this PR do?
Hopefully, the last ones.