CUDA Toolkit 설치 불가 현상
설치 중 nsight compute install failed 되며 설치가 중단되는 현상
DDU를 통해 드라이버 완전 삭제 이후 최신 드라이버를 설치하고 이후에 CUDA Toolkit 설치하여 해결합니다.
그래도 안되는 경우 드라이버 혹은 CUDA Toolkit의 이전 버전으로 다운로드하셔서 설치하시면 됩니다.
해결방안

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
ComfyUI 실행 시 Pytorch 에러
원인
Pytorch 버전과 CUDA 버전이 맞지 않아 발생한 이슈
에러 문구
comfyui 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 설치 후 pytorch 도 이에 맞는 버전으로 설치


제 경우 5070ti인 경우 12.8이 지원되기에 나이틀리 버전으로 진행해 보았습니다.
CUDA toolkit은 이미 설치되어 있다는 가정하에 진행
1. ComfyUI_windows_portable_nvidia 버전 다운로드
https://github.com/comfyanonymous/ComfyUI/releases
Releases · comfyanonymous/ComfyUI
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. - comfyanonymous/ComfyUI
github.com
압축 해제 후 터미널에서 \ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded 로 이동
2. 임베드 파이썬 내 CUDA 버전에 맞는 torch 설치
.\python.exe -m pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
예)
C:\Users\User\Documents\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded> .\python.exe -m pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
3. ComfyUI_windows_portable 내 run_nvidia_gpu.bat 파일 실행

'이슈' 카테고리의 다른 글
9600X 9700X 5070TI 등 장치 인식 불가 블랙스크린 현상 (0) | 2025.04.18 |
---|---|
Nvidia 그래픽카드 포함 PC 우분투 설치 - 블랙스크린 및 무한 로딩 해결법 (0) | 2025.04.04 |
원격 프로그램 이용 중 저해상도 출력 이슈 - 더미 HDMI (0) | 2025.03.06 |
알리 익스프레스 로그인 시 Sorry, we can't find that page 페이지로 뜨는 경우 해결 방법 (0) | 2025.03.02 |
CUDA Toolkit 설치 불가 현상
설치 중 nsight compute install failed 되며 설치가 중단되는 현상
DDU를 통해 드라이버 완전 삭제 이후 최신 드라이버를 설치하고 이후에 CUDA Toolkit 설치하여 해결합니다.
그래도 안되는 경우 드라이버 혹은 CUDA Toolkit의 이전 버전으로 다운로드하셔서 설치하시면 됩니다.
해결방안

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
ComfyUI 실행 시 Pytorch 에러
원인
Pytorch 버전과 CUDA 버전이 맞지 않아 발생한 이슈
에러 문구
comfyui 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 설치 후 pytorch 도 이에 맞는 버전으로 설치


제 경우 5070ti인 경우 12.8이 지원되기에 나이틀리 버전으로 진행해 보았습니다.
CUDA toolkit은 이미 설치되어 있다는 가정하에 진행
1. ComfyUI_windows_portable_nvidia 버전 다운로드
https://github.com/comfyanonymous/ComfyUI/releases
Releases · comfyanonymous/ComfyUI
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. - comfyanonymous/ComfyUI
github.com
압축 해제 후 터미널에서 \ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded 로 이동
2. 임베드 파이썬 내 CUDA 버전에 맞는 torch 설치
.\python.exe -m pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
예)
C:\Users\User\Documents\ComfyUI_windows_portable_nvidia\ComfyUI_windows_portable\python_embeded> .\python.exe -m pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
3. ComfyUI_windows_portable 내 run_nvidia_gpu.bat 파일 실행

'이슈' 카테고리의 다른 글
9600X 9700X 5070TI 등 장치 인식 불가 블랙스크린 현상 (0) | 2025.04.18 |
---|---|
Nvidia 그래픽카드 포함 PC 우분투 설치 - 블랙스크린 및 무한 로딩 해결법 (0) | 2025.04.04 |
원격 프로그램 이용 중 저해상도 출력 이슈 - 더미 HDMI (0) | 2025.03.06 |
알리 익스프레스 로그인 시 Sorry, we can't find that page 페이지로 뜨는 경우 해결 방법 (0) | 2025.03.02 |