Repository navigation
Fix failing tests for zaya - #47268
Merged
ydshieh merged 1 commit intoJul 23, 2026
Merged
Conversation
Fixed 3 test(s): - tests/models/zaya/test_modeling_zaya.py::ZayaModelTest::test_generate_with_quant_cache - tests/models/zaya/test_modeling_zaya.py::ZayaIntegrationTest::test_model_generation - tests/models/zaya/test_modeling_zaya.py::ZayaIntegrationTest::test_model_logits
Contributor
|
[For maintainers] Suggested jobs to run (before merge) run-slow: zaya |
Contributor
CI recapDashboard: View test results in Grafana |
kaixuanliu
marked this pull request as ready for review
July 13, 2026 02:07
kaixuanliu
commented
Jul 13, 2026
| @@ -322,13 +326,23 @@ def test_model_logits(self): | |||
| [-1.4297, -1.4297, -1.4297], | |||
| [-3.0469, -3.0469, -3.0469], | |||
| ], | |||
Contributor
Author
There was a problem hiding this comment.
I tried this test case on cuda and CPU, they both failed. Seems we need to update the expected output for (None, None) as well.
Collaborator
There was a problem hiding this comment.
it pass on our A10 CI runner. So I will leave as it is.
ydshieh
approved these changes
Jul 23, 2026
stevhliu
pushed a commit
to stevhliu/transformers
that referenced
this pull request
Jul 30, 2026
fix(zaya): auto-fix failing tests Fixed 3 test(s): - tests/models/zaya/test_modeling_zaya.py::ZayaModelTest::test_generate_with_quant_cache - tests/models/zaya/test_modeling_zaya.py::ZayaIntegrationTest::test_model_generation - tests/models/zaya/test_modeling_zaya.py::ZayaIntegrationTest::test_model_logits
Sainava
pushed a commit
to Sainava/Sai-transformers
that referenced
this pull request
Aug 3, 2026
fix(zaya): auto-fix failing tests Fixed 3 test(s): - tests/models/zaya/test_modeling_zaya.py::ZayaModelTest::test_generate_with_quant_cache - tests/models/zaya/test_modeling_zaya.py::ZayaIntegrationTest::test_model_generation - tests/models/zaya/test_modeling_zaya.py::ZayaIntegrationTest::test_model_logits
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes 3 failed test cases. 1 common and 2 for XPU:
@ydshieh pls help review, thx!