-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Description
Describe the bug, including details regarding any error messages, version, and platform.
Integrated CUDA support in Numba is deprecated in favor of the external Numba-CUDA module, maintained by NVidia.
However, when running our Numba CUDA interop tests with Numba-CUDA installed, I get the following failures on all tests:
File "/home/antoine/arrow/dev/python/pyarrow/tests/test_cuda_numba_interop.py", line 41, in setup_module
ctx2 = cuda.Context.from_numba(nb_ctx2)
File "pyarrow/_cuda.pyx", line 84, in pyarrow._cuda.Context.from_numba
handle=context.handle.value)
AttributeError: 'cuda.bindings.driver.CUcontext' object has no attribute 'value'
This probably means that our Numba interoperation code doesn't work with Numba-CUDA, only with the deprecated CUDA support in Numba itself.
Component(s)
GPU, Python