본문 바로가기
Stable Diffusion

Stable Diffusion WebUI 실행 오류 해결: RTX 50시리즈 CUDA 12.8

by DarkRock 2025. 5. 7.
반응형

PyTorch CUDA 12.8 설치

RTX 50시리즈에서 Stable Diffusion WebUI를 구동하기 위해서는 PyTorch CUDA 12.8을 설치해야 합니다. 제 이전글 Stable Diffusion WebUI를 설치 후

2024.04.22 - [Stable Diffusion] - Stable Diffusion webui 설치 방법과 error code 128

 

Stable Diffusion webui 설치 방법과 error code 128

Stable Diffusion의사용 권장사항은 NVIDIA 그래픽에 gpu 램 6기가입니다. NVIDIA 그래픽 카드가 아니면 Stable Diffusion이 불안정하게 돌아가지 않을까 생각합니다. Stable Diffusion webui 설치 단계는 아래와 같

darkrock.tistory.com

 


cmd 환경에서 WebUI설치폴더 -> \venv\scripts\activate.bat
를 실행시키면 cmd환경에서 python 가상환경으로 변하게 되는데 아래 두 단계를 실행하면 됩니다.

 

 

 

1. torch 삭제

  pip uninstall -y torch torchvision xformers


2. torch cuda 12.8 설치

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

 

torch cuda 12.8 설치 후 WebUI를 구동하면 RTX 50시리즈에서도 문제없이 구동이 될 것입니다.

반응형

'Stable Diffusion' 카테고리의 다른 글

Stable Diffusion webui 설치 방법과 error code 128  (0) 2024.04.22