Advertisement
kopyl

Untitled

Apr 3rd, 2023
813
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.65 KB | None | 0 0
  1. root@99428a9dfe2a:/workspace/stable-diffusion-webui# ./webui.sh -f
  2.  
  3. ################################################################
  4. Install script for stable-diffusion + Web UI
  5. Tested on Debian 11 (Bullseye)
  6. ################################################################
  7.  
  8. ################################################################
  9. Running on root user
  10. ################################################################
  11.  
  12. ################################################################
  13. Repo already cloned, using it as install directory
  14. ################################################################
  15.  
  16. ################################################################
  17. Create and activate python venv
  18. ################################################################
  19.  
  20. ################################################################
  21. Launching launch.py...
  22. ################################################################
  23. Python 3.10.10 (main, Feb  8 2023, 14:50:01) [GCC 9.4.0]
  24. Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
  25. Traceback (most recent call last):
  26.   File "/workspace/stable-diffusion-webui/launch.py", line 355, in <module>
  27.     prepare_environment()
  28.   File "/workspace/stable-diffusion-webui/launch.py", line 260, in prepare_environment
  29.     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'")
  30.   File "/workspace/stable-diffusion-webui/launch.py", line 121, in run_python
  31.     return run(f'"{python}" -c "{code}"', desc, errdesc)
  32.   File "/workspace/stable-diffusion-webui/launch.py", line 97, in run
  33.     raise RuntimeError(message)
  34. RuntimeError: Error running command.
  35. 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'"
  36. Error code: 1
  37. stdout: <empty>
  38. 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.)
  39.   return torch._C._cuda_getDeviceCount() > 0
  40. Traceback (most recent call last):
  41.   File "<string>", line 1, in <module>
  42. AssertionError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
  43.  
  44.  
  45. root@99428a9dfe2a:/workspace/stable-diffusion-webui#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement