Skip to content

Google Colab With Cuda 12.4 and Numba gives - CUDA_ERROR_UNSUPPORTED_PTX_VERSION #5081

Closed
srush/GPU-Puzzles
#49
@mnielsm

Description

@mnielsm

Describe the current behavior
I am using NUMBA on the GPU and as of a couple of days it no longer works in google colab.

The following code worked fine before and now it doesn't any more.

from numba import cuda
import numpy as np

@cuda.jit
def increment_by_one(an_array):
    pos = cuda.grid(1)
    if pos < an_array.size:
        an_array[pos] += 1

an_array = np.zeros(10)
increment_by_one[16,16](an_array)

Describe the expected behavior
It shows an error about CUDA_ERROR_UNSUPPORTED_PTX_VERSION which seems to come from the CUDA driver.

LinkerError: [222] Call to cuLinkAddData results in CUDA_ERROR_UNSUPPORTED_PTX_VERSION
ptxas application ptx input, line 9; fatal   : Unsupported .version 8.5; current version is '8.4'

What web browser you are using
Doesn't matter for this bug

Additional context
Crossposted to the NVIDIA NUMBA CUDA github as bug (link)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions