스테이블디퓨전 Stable Diffusion 사용하기 2 - 설치중 에러 |
그림 그려주는 무료 AI 아바타 프로그램 >>> 스테이블디퓨전 Stable Diffusion
스테이블 디퓨전 (stable diffusion) 설치 중 에러 발생
1. 호환되지 않는 PYTON 버전 (INCOMPATIBLE PYTHON VERSION)
This program is tested with 3.10.6 Python, but you have 3.11.1. If you encounter an error with "RuntimeError:
Couldn't install torch." message, or any other error regarding unsuccessful package (library) installation,
please downgrade (or upgrade) to the latest version of 3.10 Python and delete current Python and "venv" folder
in WebUI's directory.
>>> 호환되는 버전으로 재 설치합니다.
https://www.python.org/downloads/release/python-3109/
2. 시스템의 NVIDIA 드라이버가 맞지 않음
The NVIDIA driver on your system is too old (found version 9020).
>>> NVIDIA 드라이버를 업그레이드 합니다.
http://www.nvidia.com/Download/index.aspx
1. 호환되지 않는 PYTON 버전 (INCOMPATIBLE PYTHON VERSION)
============================================================================================================== INCOMPATIBLE PYTHON VERSION This program is tested with 3.10.6 Python, but you have 3.11.1. If you encounter an error with "RuntimeError: Couldn't install torch." message, or any other error regarding unsuccessful package (library) installation, please downgrade (or upgrade) to the latest version of 3.10 Python and delete current Python and "venv" folder in WebUI's directory. You can download 3.10 Python from here: https://www.python.org/downloads/release/python-3109/ Alternatively, use a binary release of WebUI: https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases Use --skip-python-version-check to suppress this warning. ============================================================================================================== Python 3.11.1 (tags/v3.11.1:a7a450f, Dec 6 2022, 19:58:39) [MSC v.1934 64 bit (AMD64)] Commit hash: 2c1bb46c7ad5b4536f6587d327a03f0ff7811c5d Installing torch and torchvision Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu117 ERROR: Could not find a version that satisfies the requirement torch==1.13.1+cu117 (from versions: none) ERROR: No matching distribution found for torch==1.13.1+cu117 [notice] A new release of pip available: 22.3.1 -> 23.0 [notice] To update, run: D:\github\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip Traceback (most recent call last): File "D:\github\stable-diffusion-webui\launch.py", line 360, in <module> prepare_environment() File "D:\github\stable-diffusion-webui\launch.py", line 269, in prepare_environment run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True) File "D:\github\stable-diffusion-webui\launch.py", line 89, in run raise RuntimeError(f"""{errdesc or 'Error running command'}. RuntimeError: Couldn't install torch. Command: "D:\github\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117 Error code: 1 계속하려면 아무 키나 누르십시오 . . .
2. 시스템의 NVIDIA 드라이버가 맞지 않음
Downloading https://download.pytorch.org/whl/cu117/torchvision-0.14.1%2Bcu117-cp310-cp310-win_amd64.whl (4.8 MB) ---------------------------------------- 4.8/4.8 MB 23.8 MB/s eta 0:00:00 Collecting typing-extensions Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB) Collecting pillow!=8.3.*,>=5.3.0 Downloading Pillow-9.4.0-cp310-cp310-win_amd64.whl (2.5 MB) ---------------------------------------- 2.5/2.5 MB 13.2 MB/s eta 0:00:00 Collecting numpy Downloading numpy-1.24.1-cp310-cp310-win_amd64.whl (14.8 MB) ---------------------------------------- 14.8/14.8 MB 24.2 MB/s eta 0:00:00 Collecting requests Downloading requests-2.28.2-py3-none-any.whl (62 kB) ---------------------------------------- 62.8/62.8 kB 3.5 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 Downloading certifi-2022.12.7-py3-none-any.whl (155 kB) ---------------------------------------- 155.3/155.3 kB 9.1 MB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading idna-3.4-py3-none-any.whl (61 kB) ---------------------------------------- 61.5/61.5 kB 827.4 kB/s eta 0:00:00 Collecting charset-normalizer<4,>=2 Downloading charset_normalizer-3.0.1-cp310-cp310-win_amd64.whl (96 kB) ---------------------------------------- 96.5/96.5 kB 5.4 MB/s eta 0:00:00 Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.14-py2.py3-none-any.whl (140 kB) ---------------------------------------- 140.6/140.6 kB ? eta 0:00:00 Installing collected packages: charset-normalizer, urllib3, typing-extensions, pillow, numpy, idna, certifi, torch, requests, torchvision Successfully installed certifi-2022.12.7 charset-normalizer-3.0.1 idna-3.4 numpy-1.24.1 pillow-9.4.0 requests-2.28.2 torch-1.13.1+cu117 torchvision-0.14.1+cu117 typing-extensions-4.4.0 urllib3-1.26.14 [notice] A new release of pip available: 22.3.1 -> 23.0 [notice] To update, run: D:\github\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip Traceback (most recent call last): File "D:\github\stable-diffusion-webui\launch.py", line 360, in <module> prepare_environment() File "D:\github\stable-diffusion-webui\launch.py", line 272, in prepare_environment run_python("import torch; assert torch.cuda.is_available(), 'Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check'") File "D:\github\stable-diffusion-webui\launch.py", line 129, in run_python return run(f'"{python}" -c "{code}"', desc, errdesc) File "D:\github\stable-diffusion-webui\launch.py", line 105, in run raise RuntimeError(message) RuntimeError: Error running command. Command: "D:\github\stable-diffusion-webui\venv\Scripts\python.exe" -c "import torch; assert torch.cuda.is_available(), 'Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check'" Error code: 1 stdout: stderr: D:\github\stable-diffusion-webui\venv\lib\site-packages\torch\cuda\__init__.py:88: UserWarning: CUDA initialization: The NVIDIA driver on your system is too old (found version 9020). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver. (Triggered internally at ..\c10\cuda\CUDAFunctions.cpp:109.) return torch._C._cuda_getDeviceCount() > 0 Traceback (most recent call last): File "<string>", line 1, in <module> AssertionError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check 계속하려면 아무 키나 누르십시오 . . .
'인공지능 AI' 카테고리의 다른 글
스테이블디퓨전 Stable Diffusion 사용중 에러발생 시 대처하기 (0) | 2023.02.04 |
---|---|
Video Creation Made EASY - Pictory (0) | 2023.02.03 |
Stable Diffusion web UI - Use online services (like Google Colab) (0) | 2023.02.03 |
스테이블디퓨전 Stable Diffusion 사용하기 3 - 테스트 (0) | 2023.02.02 |
스테이블디퓨전 Stable Diffusion 사용하기 1 - 프로그램 설치 (0) | 2023.02.02 |