When I try to install NVIDIA RAPIDS and run the cudf library, I get this error -
import cudf
print(cudf.Series[“1”,“2”,“3”])
Traceback (most recent call last):
File “”, line 1, in
TypeError: ‘type’ object is not subscriptable
print(cudf.Series([1, 2, 3]))
Traceback (most recent call last):
File “”, line 1, in
File “/usr/local/lib/python3.10/dist-packages/cudf/utils/performance_tracking.py”, line 51, in wrapper
return func(*args, **kwargs)
File “/usr/local/lib/python3.10/dist-packages/cudf/core/series.py”, line 621, in init
column = as_column(
File “/usr/local/lib/python3.10/dist-packages/cudf/core/column/column.py”, line 2241, in as_column
return as_column(arbitrary, nan_as_null=nan_as_null, dtype=dtype)
File “/usr/local/lib/python3.10/dist-packages/cudf/core/column/column.py”, line 1868, in as_column
col = ColumnBase.from_arrow(arbitrary)
File “/usr/local/lib/python3.10/dist-packages/cudf/core/column/column.py”, line 364, in from_arrow
result = libcudf.interop.from_arrow(data)[0]
File “/usr/lib/python3.10/contextlib.py”, line 79, in inner
return func(*args, **kwds)
File “interop.pyx”, line 162, in cudf._lib.interop.from_arrow
File “/usr/lib/python3.10/functools.py”, line 889, in wrapper
return dispatch(args[0].class)(*args, **kw)
File “interop.pyx”, line 142, in cudf._lib.pylibcudf.interop._from_arrow_table
RuntimeError: Fatal CUDA error encountered at: /__w/cudf/cudf/cpp/src/bitmask/null_mask.cu:93: 100 cudaErrorNoDevice no CUDA-capable device is detected
I have installed the cuda toolkit and the nvcc–version is 11.5. Can someone help me in diagnosing this problem?
I have also tried using the method mentioned in #5776 Error at driver init: [100] Call to cuInit results in CUDA_ERROR_NO_DEVICE: · Issue #5776 · numba/numba · GitHub