NVIDIA GeForce RTX 5080에 PyTorch 설치하기

2025. 3. 20. 17:05·Setting/Ubuntu

 

 

 

2025년 10월 기준 50 시리즈(Blackwell)에서 Pytorch 정식 지원

cuda>=12.8
torch>=2.7
python>=3.9

 

 

 

 

Troubleshooting

UserWarning: NVIDIA GeForce RTX 5080 with CUDA capability sm_120 is not compatible with the current PyTorch installation. The current PyTorch install supports CUDA capabilities sm_50 sm_60 sm_70 sm_75 sm_80 sm_86 sm_90. If you want to use the NVIDIA GeForce RTX 5080 GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/
CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1. Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

 

 

CUDA 12.8 및 NVIDIA 드라이버 확인 

RTX 5080을 지원하려면 CUDA 12.8 이상과 최신 NVIDIA 드라이버가 필요하다.

 

Ubuntu 24.04 + RTX 5080에 NVIDIA Driver 570 설치하기

나의 경우 nvidia-driver-570, CUDA 툴킷을 통한 설치 모두 NVIDIA 드라이버 설치가 제대로 되지 않았다.검색 결과 `nvidia-driver-570-open`으로 설치 성공했다는 글을 보고 해결하였다.  우선 나의 PC의 사양

sohee-zoe.tistory.com

 

CUDA + CuDNN 설치하기

관련 포스팅NVIDIA Driver 설치    호환성 확인GPU & CUDA & CuDNN 버전 호환성 확인아래 페이지에 들어가 사용하는 GPU에 맞춰 사용 가능한 CUDA와 CuDNN 버전을 확인한다. CUDA - WikipediaFrom Wikipedia, the free

sohee-zoe.tistory.com

 

 

PyTorch 최신 Nightly 버전 설치 

RTX 5080은 CUDA 12.8 및 sm_120 아키텍처를 지원하지만, 현재 PyTorch의 정식 릴리스는 이를 지원하지 않는다.

따라서 PyTorch의 Nightly 빌드를 설치해야 한다.

pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128

 

 

환경 변수 설정 

PyTorch 실행 중 오류가 발생하면 다음 환경 변수를 설정하여 디버깅을 활성화 시킨다.

export CUDA_LAUNCH_BLOCKING=1

 

'Setting > Ubuntu' 카테고리의 다른 글

Ubuntu 터미널에서 비밀번호 asterisk * 표시하기  (0) 2025.03.25
(ZSH) Prezto + zplug로 플러그인 관리하기  (0) 2025.03.14
Ubuntu에 카카오톡 설치하기 (근데 이제 Wine을 곁들인)  (0) 2025.03.14
Windows에서 VMWare로 Ubuntu 22.04 설치하기  (0) 2025.03.12
터미널 에뮬레이터 Ghostty 설치  (0) 2025.03.11
'Setting/Ubuntu' 카테고리의 다른 글
  • Ubuntu 터미널에서 비밀번호 asterisk * 표시하기
  • (ZSH) Prezto + zplug로 플러그인 관리하기
  • Ubuntu에 카카오톡 설치하기 (근데 이제 Wine을 곁들인)
  • Windows에서 VMWare로 Ubuntu 22.04 설치하기
Z0e
Z0e
3D Vision Engineer, Zoe 입니다.
  • Z0e
    I'm not a robot
    Z0e
    • 분류 전체보기
      • Spatial AI
        • Geometry
        • SLAM
      • Programming
        • Python
        • Git
        • Docker
      • Setting
        • Ubuntu
        • ROS
      • Study
        • Google Skills
  • 인기 글

  • hELLO· Designed By정상우.v4.10.3
Z0e
NVIDIA GeForce RTX 5080에 PyTorch 설치하기
상단으로

티스토리툴바