Repository navigation
Conversation
Contributor
Author
|
🤖 Written by an agent on behalf of @havogt |
This branch has not been deployed
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.
Description
BACKEND_SKIP_TEST_MATRIXentries withXFAILcalledpytest.xfail()inside the backend fixture. That aborts the test before its body runs, so an entry could never report an unexpected pass, despitexfail_strict = trueand the note indefinitions.py. A backend that gains a feature went unnoticed.apply_backend_exclusionsnow appliesXFAILentries as strictxfailmarkers, so the test runs and an XPASS fails.SKIPentries are still raised.Running the formerly xfailed items locally (internal and dace, cpu and cuda13) found 205 that pass. The matrix and tests are adjusted accordingly:
uses_tuple_args_with_different_but_promotable_dims(roundtrip, gtir, gtfn, dace),uses_scan_nested(gtfn), anduses_reduction_with_only_sparse_fieldson gtfn and the gtfn C++ formatter. The last one stays on dace, so it moves from the common list to the dace list.uses_scan_without_field_argspasses on embedded numpy only: such a scan has no buffer to take the array type from, so it allocates with NumPy. It moves to aNON_NUMPY_EMBEDDED_SKIP_LIST.uses_concat_wherepasses on roundtrip except when the branches have different local dimensions. Addeduses_concat_where_mixed_local_dimsfor those three tests. The roundtrip list uses it, and gtir keepsuses_concat_where. In the two*_on_empty_branchtests thestatic_domainscase prunes the empty branch before lowering, so that case no longer carriesuses_concat_where. The marker moved from the module to thestatic_domainsfixture params to make this possible.test_collect_metrics: only thePERFORMANCE/ALLlevels (compute metrics) carryuses_program_metrics.DISABLED/MINIMALpass on roundtrip.test_single_value_fieldchecked nothing: it wroteaback into itself and compared againstinout=a[1, 3], a scalar copy taken before the call. It now writesa + 1and compares thea[1:2, 3:4]view. It passes on all backends except jax, whereuses_program_with_sliced_out_argumentscorrectly xfails it.test_slice_sparseno longer carriesuses_sparse_fields: dace supports reading a sparse field withlist_get. The other three tests with the marker shift sparse fields and still fail there.roundtrip.with_temporariesfrom the iteratorprogram_processorparams. Its(ALL, XFAIL)entry meant it never ran. 110 of its 119 items pass. The other 9 fail for five unrelated reasons (extra-dim temporaries, scans, assertions in type inference and shift tracing), so no single marker replacesALL. The backend is unchanged insrc/.ADR 15's note now mentions the strict application.
Not run locally: rocm and atlas sessions. Expect CI to surface any XPASS there.
Requirements