Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@99428a9dfe2a:/workspace/stable-diffusion-webui# ./webui.sh -f
- ################################################################
- Install script for stable-diffusion + Web UI
- Tested on Debian 11 (Bullseye)
- ################################################################
- ################################################################
- Running on root user
- ################################################################
- ################################################################
- Repo already cloned, using it as install directory
- ################################################################
- ################################################################
- Create and activate python venv
- ################################################################
- ################################################################
- Launching launch.py...
- ################################################################
- Python 3.10.10 (main, Feb 8 2023, 14:50:01) [GCC 9.4.0]
- Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
- Traceback (most recent call last):
- File "/workspace/stable-diffusion-webui/launch.py", line 355, in <module>
- prepare_environment()
- File "/workspace/stable-diffusion-webui/launch.py", line 260, 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 "/workspace/stable-diffusion-webui/launch.py", line 121, in run_python
- return run(f'"{python}" -c "{code}"', desc, errdesc)
- File "/workspace/stable-diffusion-webui/launch.py", line 97, in run
- raise RuntimeError(message)
- RuntimeError: Error running command.
- Command: "/workspace/stable-diffusion-webui/venv/bin/python3" -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: /workspace/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/cuda/__init__.py:107: UserWarning: CUDA initialization: Unexpected error from cudaGetDeviceCount(). Did you run some cuda functions before calling NumCudaDevices() that might have already set an error? Error 804: forward compatibility was attempted on non supported HW (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
- root@99428a9dfe2a:/workspace/stable-diffusion-webui#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement