Skip to content

Some Numba tests are failing #54418

@mruberry

Description

@mruberry

test_from_cuda_array_interface, test_from_cuda_array_interface_active_device, and test_from_cuda_array_interface_lifetime are failing. Example failure snippet:

Traceback (most recent call last):
  File "test_numba_integration.py", line 339, in test_from_cuda_array_interface_active_device
    self.assertEqual(torch_ary.__cuda_array_interface__, numba_ary.__cuda_array_interface__)
  File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1268, in assertEqual
    exact_device=exact_device)
  File "/opt/conda/lib/python3.6/site-packages/torch/testing/_internal/common_utils.py", line 1259, in assertEqual
    super().assertEqual(x, y, msg=self._get_assert_msg(msg, debug_msg=debug_msg))
AssertionError: Items in the second set but not the first:
'stream' : Attempted to compare [set] types: Expected: {'version', 'typestr', 'data', 'shape', 'strides'}; Actual: {'version', 'typestr', 'data', 'stream', 'shape', 'strides'}.

The PR these failures first appear on seems to be unrelated.

cc @ezyang @gchanan @zou3519 @bdhirsh @jbschlosser @anjali411 @seemethere @malfet @walterddr @pytorch/pytorch-dev-infra @mruberry @VitalyFedyunin

Metadata

Metadata

Assignees

No one assigned

    Labels

    high prioritymodule: ciRelated to continuous integrationmodule: numbamodule: testsIssues related to tests (not the torch.testing module)triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    Status

    Untriaged Archival - really old stuff

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions