The GitHub Actions job "CI" on tvm-ffi.git/tvm-ffi-drop-test-empty-tensor-attributes-numpy-dlpack-export-changed-strides-for-empty-arrays has failed. Run started by GitHub user tqchen (triggered by tqchen).
Head commit for run: 96f60746f4da5fa166c04d55b080619ec868a0b2 / tqchen <[email protected]> [FIX] Drop test_empty_tensor_attributes (numpy dlpack stride change for empty arrays) NumPy silently changed how it exports strides for zero-element arrays via `__dlpack__`. For a shape `(4, 0, 4)` array NumPy previously reported strides `(0, 4, 1)`, but now reports `(0, 0, 0)`. Either choice is arguably valid — any stride values are consistent when the array has zero elements — but `tvm_ffi.from_dlpack` faithfully forwards whatever the upstream exporter provides. The test was asserting a NumPy-side implementation detail that has since changed, so it is removed rather than patched. Deciding what the correct empty-array stride convention should be is a separate question not in scope for this fix. Report URL: https://github.com/apache/tvm-ffi/actions/runs/27028586969 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
