Temporary disable TestNumbaIntegration.test_from_cuda_array_interface* (#54430)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/54430

see https://github.com/pytorch/pytorch/issues/54429

Test Plan: Imported from OSS

Reviewed By: mruberry

Differential Revision: D27232636

Pulled By: pbelevich

fbshipit-source-id: 15fb69828a23cb6f3c173a7863bd55bf4973f408
This commit is contained in:
Pavel Belevich
2021-03-22 09:15:39 -07:00
committed by Facebook GitHub Bot
parent ef472d5b31
commit b6bbb41fd8

View File

@ -229,6 +229,7 @@ class TestNumbaIntegration(common.TestCase):
numba.cuda.as_cuda_array(cudat), numba.cuda.devicearray.DeviceNDArray
)
@unittest.skip("Test is temporary disabled, see https://github.com/pytorch/pytorch/issues/54418")
@unittest.skipIf(not TEST_NUMPY, "No numpy")
@unittest.skipIf(not TEST_CUDA, "No cuda")
@unittest.skipIf(not TEST_NUMBA_CUDA, "No numba.cuda")
@ -314,6 +315,7 @@ class TestNumbaIntegration(common.TestCase):
torch_ary = torch.as_tensor(numba_ary, device="cuda")
self.assertTrue(torch_ary.is_contiguous())
@unittest.skip("Test is temporary disabled, see https://github.com/pytorch/pytorch/issues/54418")
@unittest.skipIf(not TEST_NUMPY, "No numpy")
@unittest.skipIf(not TEST_CUDA, "No cuda")
@unittest.skipIf(not TEST_NUMBA_CUDA, "No numba.cuda")
@ -325,6 +327,7 @@ class TestNumbaIntegration(common.TestCase):
del numba_ary
self.assertEqual(torch_ary.cpu().data.numpy(), numpy.arange(6)) # `torch_ary` is still alive
@unittest.skip("Test is temporary disabled, see https://github.com/pytorch/pytorch/issues/54418")
@unittest.skipIf(not TEST_NUMPY, "No numpy")
@unittest.skipIf(not TEST_CUDA, "No cuda")
@unittest.skipIf(not TEST_NUMBA_CUDA, "No numba.cuda")