Skip to content

BUG: GeForce Game Ready Driver version 580.88 is breaking Numba #29525

@PavelPxE

Description

@PavelPxE

Describe the issue:

Good day,

After updating to version 580.88 of the GeForce Game Ready Driver, executing code that includes the following function declaration results in an exception:

@cuda.jit((types.Array(types.float32, 2, 'C'),
types.Array(types.float32, 2, 'C'),
types.Array(types.float32, 3, 'C'),
types.Array(types.float32, 4, 'C')), cache=True)
def interp_kernel_f32(input, output, map, lut):
# function body

Alternatively:

@cuda.jit("void(float32[:,:], float32[:,:], float32[:,:,:], float32[:,:,:,:])", cache=True)
def interp_kernel_f32(input, output, map, lut):
# function body

Upon execution, the following traceback is generated:

Traceback (most recent call last):
...
File "devices.py", line 40, in getitem
return self.lst[devnum]
IndexError: list index out of range

Reverting to driver version 577.00 eliminates the exception and allows the kernel to JIT-compile and execute normally.
Is this a known issue associated with Numba and version 580.88 of said driver?

Thanks!

Reproduce the code example:

@cuda.jit((types.Array(types.float32, 2, 'C'), 
           types.Array(types.float32, 2, 'C'), 
           types.Array(types.float32, 3, 'C'), 
           types.Array(types.float32, 4, 'C')), cache=True)
def interp_kernel_f32(input, output, map, lut):
    # function body

Alternatively:

@cuda.jit("void(float32[:,:], float32[:,:], float32[:,:,:], float32[:,:,:,:])", cache=True)
def interp_kernel_f32(input, output, map, lut):
    # function body

Error message:

Traceback (most recent call last):
  ...
  File "devices.py", line 40, in __getitem__
    return self.lst[devnum]
IndexError: list index out of range

Python and NumPy Versions:

Python version 3.10.11, Numba version 0.61.2.

Runtime Environment:

Windows 11 24H2

Context for the issue:

No response

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