Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python][CI] test-cuda-python fails, requires cuda-toolkit v11.2 #38059

Closed
danepitkin opened this issue Oct 5, 2023 · 0 comments · Fixed by #38081
Closed

[Python][CI] test-cuda-python fails, requires cuda-toolkit v11.2 #38059

danepitkin opened this issue Oct 5, 2023 · 0 comments · Fixed by #38081
Assignees
Labels
Milestone

Comments

@danepitkin
Copy link
Contributor

danepitkin commented Oct 5, 2023

Describe the bug, including details regarding any error messages, version, and platform.

test-cuda-python fails with

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
usr/local/lib/python3.8/dist-packages/numba/cuda/dispatcher.py:539: in __call__
    return self.dispatcher.call(args, self.griddim, self.blockdim,
usr/local/lib/python3.8/dist-packages/numba/cuda/dispatcher.py:673: in call
    kernel = _dispatcher.Dispatcher._cuda_call(self, *args)
usr/local/lib/python3.8/dist-packages/numba/cuda/dispatcher.py:681: in _compile_for_args
    return self.compile(tuple(argtypes))
usr/local/lib/python3.8/dist-packages/numba/cuda/dispatcher.py:924: in compile
    kernel = _Kernel(self.py_func, argtypes, **self.targetoptions)
usr/local/lib/python3.8/dist-packages/numba/core/compiler_lock.py:35: in _acquire_compile_lock
    return func(*args, **kwargs)
usr/local/lib/python3.8/dist-packages/numba/cuda/dispatcher.py:103: in __init__
    self.cooperative = 'cudaCGGetIntrinsicHandle' in lib.get_asm_str()
usr/local/lib/python3.8/dist-packages/numba/cuda/codegen.py:119: in get_asm_str
    return self._join_ptxes(self._get_ptxes(cc=cc))
usr/local/lib/python3.8/dist-packages/numba/cuda/codegen.py:131: in _get_ptxes
    arch = nvvm.get_arch_option(*cc)
usr/local/lib/python3.8/dist-packages/numba/cuda/cudadrv/nvvm.py:439: in get_arch_option
    arch = find_closest_arch((major, minor))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

mycc = (7, 5)

    def find_closest_arch(mycc):
        """
        Given a compute capability, return the closest compute capability supported
        by the CUDA toolkit.
    
        :param mycc: Compute capability as a tuple ``(MAJOR, MINOR)``
        :return: Closest supported CC as a tuple ``(MAJOR, MINOR)``
        """
        supported_ccs = NVVM().supported_ccs
    
        if not supported_ccs:
            msg = "No supported GPU compute capabilities found. " \
                  "Please check your cudatoolkit version matches your CUDA version."
>           raise NvvmSupportError(msg)
E           numba.cuda.cudadrv.error.NvvmSupportError: No supported GPU compute capabilities found. Please check your cudatoolkit version matches your CUDA version.

usr/local/lib/python3.8/dist-packages/numba/cuda/cudadrv/nvvm.py:412: NvvmSupportError
=============================== warnings summary ===============================
usr/local/lib/python3.8/dist-packages/pyarrow/tests/test_cuda_numba_interop.py: 19 warnings
  /usr/local/lib/python3.8/dist-packages/numba/cuda/cudadrv/nvvm.py:392: UserWarning: CUDA Toolkit 11.0 is unsupported by Numba - 11.2 is the minimum required version.

https://github.com/ursacomputing/crossbow/actions/runs/6319788893/job/17161299196

Component(s)

Python

@danepitkin danepitkin added this to the 14.0.0 milestone Oct 5, 2023
@danepitkin danepitkin changed the title [Python][CI] [Python][CI] test-cuda-python fails with NvvmSupportError Oct 5, 2023
@danepitkin danepitkin changed the title [Python][CI] test-cuda-python fails with NvvmSupportError [Python][CI] test-cuda-python fails, requires cuda-toolkit 11.2 Oct 6, 2023
@danepitkin danepitkin changed the title [Python][CI] test-cuda-python fails, requires cuda-toolkit 11.2 [Python][CI] test-cuda-python fails, requires cuda-toolkit v11.2 Oct 6, 2023
kou pushed a commit that referenced this issue Oct 10, 2023
### Rationale for this change

Numba v0.58 requires cuda-toolkit >= v11.2

### What changes are included in this PR?

* Upgrade CUDA from 11.0.3 -> 11.2.2

### Are these changes tested?

Will test in CI

### Are there any user-facing changes?

Yes
* Closes: #38059

Authored-by: Dane Pitkin <dane@voltrondata.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
JerAguilon pushed a commit to JerAguilon/arrow that referenced this issue Oct 23, 2023
### Rationale for this change

Numba v0.58 requires cuda-toolkit >= v11.2

### What changes are included in this PR?

* Upgrade CUDA from 11.0.3 -> 11.2.2

### Are these changes tested?

Will test in CI

### Are there any user-facing changes?

Yes
* Closes: apache#38059

Authored-by: Dane Pitkin <dane@voltrondata.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
loicalleyne pushed a commit to loicalleyne/arrow that referenced this issue Nov 13, 2023
### Rationale for this change

Numba v0.58 requires cuda-toolkit >= v11.2

### What changes are included in this PR?

* Upgrade CUDA from 11.0.3 -> 11.2.2

### Are these changes tested?

Will test in CI

### Are there any user-facing changes?

Yes
* Closes: apache#38059

Authored-by: Dane Pitkin <dane@voltrondata.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
dgreiss pushed a commit to dgreiss/arrow that referenced this issue Feb 19, 2024
### Rationale for this change

Numba v0.58 requires cuda-toolkit >= v11.2

### What changes are included in this PR?

* Upgrade CUDA from 11.0.3 -> 11.2.2

### Are these changes tested?

Will test in CI

### Are there any user-facing changes?

Yes
* Closes: apache#38059

Authored-by: Dane Pitkin <dane@voltrondata.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant