Numba vectorize throws unable to resolve dtype for cuda target

I am learning numba with the course at nvidia “Fundamentals of accelerated computing using python” when encountering vectorize with target as a cuda device

@vectorize(['int64(int64, int64)'], target='cuda') 
def add_ufunc(x, y):
    return x + y

i am getting error cuda cannot resolve argument type even though i am explicitly mentioning the dtypes in the decorator…

AttributeError: 'CUDATypingContext' object has no attribute 'resolve_argument_type'

there is no issue if i ran the same code with target as ‘parallel’ or ‘cpu’

is there something i am missing or could it be the course is too old and it has to done differently? as in the course instructions it said i need python 3.4+… so im skeptical if the course is old and things have changed…

I am running it on wsl2 ver 2.4.12
Python 3.12.8
Numba 0.61.2
Numpy 1.26.4