Torch not compiled with CUDA enabled1 [Mac] Detectron2 - AssertionError: Torch not compiled with CUDA enabled 목적 detectron2 데이터셋 설정 작업 중 torch 관련 오류가 났다. 해당 오류를 해결하기 위한 삽질 내용과 해결 방법을 포스팅하고자 한다. 오류 내용 AssertionError: Torch not compiled with CUDA enabled 오류 발생 사유 M2 Mac에는 Nvidia GPU 기능인 Cuda가 없어서 사용할 수 없었다. 삽질 Mac의 오류인 것을 인지하지 못하고 torch 재설치를 해보기도 했다. torch 버전 확인 python import torch print(torch.__version__) torch & torchvision 삭제하기 pip uninstall torch torchvision torch, torchivision, torchaudio 호환되는 버전으로 재.. 2024. 4. 16. 이전 1 다음