最強(qiáng) AI 繪畫工具——Stable Diffusion超詳細(xì)教程

venv "baobao\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug?1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: 3715ece0adce7bf7c5e9c5ab3710b2fdc3848f39
Traceback (most recent call last):
?File "F:\AI\stable-diffusion-webui\launch.py", line 360, in <module>
??prepare_environment()
?File "F:\AI\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 "F:\AI\stable-diffusion-webui\launch.py", line 129, in run_python
??return run(f'"{python}" -c "{code}"', desc, errdesc)
?File "F:\AI\stable-diffusion-webui\launch.py", line 105, in run
??raise RuntimeError(message)
RuntimeError: Error running command.
Command: "F:\AI\stable-diffusion-webui\baobao\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: <empty>
stderr: 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
請按任意鍵繼續(xù). . .
想問一下up這是什么原因
