728x90 반응형 SMALL CUDA4 Ubuntu18.04 Install Cuda, Cudnn 1. CUDA 설치 https://developer.nvidia.com/cuda-toolkit-archive CUDA Toolkit Archive Previous releases of the CUDA Toolkit, GPU Computing SDK, documentation and developer drivers can be found using the links below. Please select the release you want from the list below, and be sure to check www.nvidia.com/drivers for more recent production developer.nvidia.com 위 페이지에 들어가서 원하는 버전의 CUDA 선택한다. 필자는 11... 2023. 6. 27. Reinstall missing kernel modules sudo apt-get install --reinstall linux-headers-$(uname -r) sudo apt-get update && sudo apt-get upgrade CUDA와 CUDNN 설치후 동작 테스트 할때, GPU device를 찾지 못한다는 에러가 나는 경우, 커널이 망가져있을 수 있다. 2023. 6. 27. nvrtc: error: invalid value for --gpu-architecture (-arch) [error] nvrtc: error: invalid value for --gpu-architecture (-arch) [solution] 1. detectron2/detectron2/engine/train_loop.py line 491 : 주석처리 #with autocast(dtype=self.precision): 2. detectron2/detectron2/engine/train_loop.py line 435~ : False를 True로 변경 class AMPTrainer(SimpleTrainer): def __init__( ... ... zero_grad_before_foward = True ): 2023. 6. 27. Nvidia driver, Cuda remove #Nvidia remove sudo apt-get -y remove --purge '^nvidia-.*' #Cuda remove sudo apt-get -y --purge remove 'cuda*' sudo apt-get -y autoremove --purge 'cuda*' #folder remove sudo rm -rf /usr/local/cuda* 2023. 6. 22. 이전 1 다음 728x90 반응형 LIST