numba.cuda.cudadrv.error.CudaSupportError: 드라이버 초기화 시 오류: Quadro M2000, Ubuntu 20.04 실행

numba.cuda.cudadrv.error.CudaSupportError: 드라이버 초기화 시 오류: Quadro M2000, Ubuntu 20.04 실행

저는 Ubuntu 20.04를 실행 중이고 Quadro M2000 카드를 가지고 있습니다 $ nvidia-smi -L.

GPU 0: Quadro M2000 (UUID: GPU-df3aa58b-eac2-2d70-3e96-8915f899997e)

파이썬으로 사용하고 싶어서 를 numba이용해서 설치했는데 $ pip install numba, 체크해서 nvcc -v설치하라고 하더군요.

설치하는 동안 다음과 같은 오류가 발생합니다.

$ sudo apt install nvidia-cuda-toolkit
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nvidia-cuda-toolkit : Depends: nvidia-profiler (= 10.1.243-3) but it is not going to be installed
                       Depends: nvidia-cuda-dev (= 10.1.243-3) but it is not going to be installed
                       Recommends: nvidia-visual-profiler (= 10.1.243-3) but it is not going to be installed
                       Recommends: nsight-compute (= 10.1.243-3)
                       Recommends: nsight-systems (= 10.1.243-3)
E: Unable to correct problems, you have held broken packages

내가 설치한 드라이버는 390개입니다. (M2000 드라이버에 대한 nvidia 웹사이트에서 확인) 이 패키지 중 몇 개를 수동으로 설치하려고 했지만 제대로 작동하지 않았습니다.

그래서 나는 단계를 다시 따랐다.엔비디아 CUDA 다운로드쿠다를 설치합니다.

이에 따라 나는 확인하기로 결정했습니다 numba.

>>> import numba
>>> numba.__version__
'0.56.2'

네, 제대로 numba설치되었습니다.

>>> from numba import cuda
>>> print(cuda.gpus)
```Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/luce/.local/lib/python3.8/site-packages/numba/cuda/cudadrv/devices.py", line 43, in __str__
    return ', '.join([str(d) for d in self.lst])
  File "/home/luce/.local/lib/python3.8/site-packages/numba/cuda/cudadrv/devices.py", line 26, in __getattr__
    numdev = driver.get_device_count()
  File "/home/luce/.local/lib/python3.8/site-packages/numba/cuda/cudadrv/driver.py", line 417, in get_device_count
    self.cuDeviceGetCount(byref(count))
  File "/home/luce/.local/lib/python3.8/site-packages/numba/cuda/cudadrv/driver.py", line 288, in __getattr__
    raise CudaSupportError("Error at driver init: \n%s:" %
numba.cuda.cudadrv.error.CudaSupportError: Error at driver init: 
Call to cuInit results in UNKNOWN_CUDA_ERROR (803):

이것을 어떻게 분류할 수 있을까요?

관련 정보