1) 설치

https://docs.cupy.dev/en/latest/install.html

 

 

2) 오류 발생

(1)

cupy is not correctly installed. if you are using wheel distribution (cupy-cudaxx), make sure that the version of cupy you installed matches with the version of cuda on your host. also, confirm that only one cupy package is installed: $ pip freeze if you are building cupy from source, please check your environment, uninstall cupy and reinstall it with: $ pip install cupy --no-cache-dir -vvvv

이 문제에 대해서는 anaconda에 cupy를 따로 설치해야 할 것이라 판단하여

$ conda install -c conda-forge cupy

코드 실행

 

(2)

CUDADriverError: CUDA_ERROR_UNSUPPORTED_PTX_VERSION: the provided PTX was compiled with an unsupported toolchain.

https://forums.developer.nvidia.com/t/provided-ptx-was-compiled-with-an-unsupported-toolchain-error-using-cub/168292

드라이버 업데이트 수행

 

nvidia geforce experience를 활용, 그래픽카드 드라이버 업데이트

 

+ Recent posts