Advertisement
andwan0

Untitled

Oct 11th, 2024 (edited)
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.66 KB | None | 0 0
  1. (deck@steamdeck stable-diffusion-webui-amdgpu)$ ./webui.sh --precision full --no-half --skip-torch-cuda-test
  2.  
  3. ################################################################
  4. Install script for stable-diffusion + Web UI
  5. Tested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer.
  6. ################################################################
  7.  
  8. ################################################################
  9. Running on deck 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. glibc version is 2.37
  24. Check TCMalloc: libtcmalloc_minimal.so.4
  25. ./webui.sh: line 258: bc: command not found
  26. ./webui.sh: line 258: [: -eq: unary operator expected
  27. libtcmalloc_minimal.so.4 is linked with libc.so,execute LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so.4
  28. Python 3.11.3 (main, Jun 5 2023, 09:32:32) [GCC 13.1.1 20230429]
  29. Version: v1.10.1-amd-11-gefddd05e
  30. Commit hash: efddd05e11d9cc5339a41192457e6ff8ad06ae00
  31. WARNING: you should not skip torch test unless you want CPU to work.
  32. no module 'xformers'. Processing without...
  33. no module 'xformers'. Processing without...
  34. No module 'xformers'. Proceeding without it.
  35. /home/deck/stable-diffusion-webui-amdgpu/venv/lib/python3.11/site-packages/pytorch_lightning/utilities/distributed.py:258: LightningDeprecationWarning: `pytorch_lightning.utilities.distributed.rank_zero_only` has been deprecated in v1.8.1 and will be removed in v2.0.0. You can import it from `pytorch_lightning.utilities` instead.
  36. rank_zero_deprecation(
  37. Launching Web UI with arguments: --precision full --no-half --skip-torch-cuda-test
  38. Warning: caught exception 'Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx', memory monitor disabled
  39. ONNX failed to initialize: module 'optimum.onnxruntime.modeling_diffusion' has no attribute '_ORTDiffusionModelPart'
  40. Downloading: "https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors" to /home/deck/stable-diffusion-webui-amdgpu/models/Stable-diffusion/v1-5-pruned-emaonly.safetensors
  41.  
  42. 100%|██████████████████████████████████████████████████████████████████████████▉| 3.97G/3.97G [06:54<00:00, 10.3MB/s]
  43. loading stable diffusion model: FileNotFoundError
  44. Traceback (most recent call last):
  45. File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap
  46. self._bootstrap_inner()
  47. File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
  48. self.run()
  49. File "/usr/lib/python3.11/threading.py", line 975, in run
  50. self._target(*self._args, **self._kwargs)
  51. File "/home/deck/stable-diffusion-webui-amdgpu/modules/initialize.py", line 149, in load_model
  52. shared.sd_model # noqa: B018
  53. File "/home/deck/stable-diffusion-webui-amdgpu/modules/shared_items.py", line 190, in sd_model
  54. return modules.sd_models.model_data.get_sd_model()
  55. File "/home/deck/stable-diffusion-webui-amdgpu/modules/sd_models.py", line 693, in get_sd_model
  56. load_model()
  57. File "/home/deck/stable-diffusion-webui-amdgpu/modules/sd_models.py", line 788, in load_model
  58. checkpoint_info = checkpoint_info or select_checkpoint()
  59. ^^^^^^^^^^^^^^^^^^^
  60. File "/home/deck/stable-diffusion-webui-amdgpu/modules/sd_models.py", line 234, in select_checkpoint
  61. raise FileNotFoundError(error_message)
  62. FileNotFoundError: No checkpoints found. When searching for checkpoints, looked at:
  63. - file /home/deck/stable-diffusion-webui-amdgpu/model.ckpt
  64. - directory /home/deck/stable-diffusion-webui-amdgpu/models/Stable-diffusionCan't run without a checkpoint. Find and place a .ckpt or .safetensors file into any of those locations.
  65.  
  66.  
  67. Stable diffusion model failed to load
  68. Applying attention optimization: InvokeAI... done.
  69. Running on local URL: http://127.0.0.1:7860
  70.  
  71. To create a public link, set `share=True` in `launch()`.
  72. Startup time: 424.0s (prepare environment: 9.3s, initialize shared: 0.6s, list SD models: 417.7s, load scripts: 0.5s, create ui: 0.3s, gradio launch: 0.1s).
  73. QObject::moveToThread: Current thread (0x56466d45e100) is not the object's thread (0x56466d45e260).
  74. Cannot move to target thread (0x56466d45e100)
  75.  
  76. qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/deck/stable-diffusion-webui-amdgpu/venv/lib/python3.11/site-packages/cv2/qt/plugins" even though it was found.
  77. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
  78.  
  79. Available platform plugins are: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx.
  80.  
  81. /usr/bin/xdg-open: line 613: 6739 Aborted (core dumped) kde-open${KDE_SESSION_VERSION} "$1"
  82. loading stable diffusion model: FileNotFoundError
  83. Traceback (most recent call last):
  84. File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap
  85. self._bootstrap_inner()
  86. File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
  87. self.run()
  88. File "/home/deck/stable-diffusion-webui-amdgpu/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 807, in run
  89. result = context.run(func, *args)
  90. File "/home/deck/stable-diffusion-webui-amdgpu/venv/lib/python3.11/site-packages/gradio/utils.py", line 707, in wrapper
  91. response = f(*args, **kwargs)
  92. File "/home/deck/stable-diffusion-webui-amdgpu/modules/ui.py", line 1740, in <lambda>
  93. visible=shared.sd_model and shared.sd_model.cond_stage_key == "edit"
  94. File "/home/deck/stable-diffusion-webui-amdgpu/modules/shared_items.py", line 190, in sd_model
  95. return modules.sd_models.model_data.get_sd_model()
  96. File "/home/deck/stable-diffusion-webui-amdgpu/modules/sd_models.py", line 693, in get_sd_model
  97. load_model()
  98. File "/home/deck/stable-diffusion-webui-amdgpu/modules/sd_models.py", line 788, in load_model
  99. checkpoint_info = checkpoint_info or select_checkpoint()
  100. ^^^^^^^^^^^^^^^^^^^
  101. File "/home/deck/stable-diffusion-webui-amdgpu/modules/sd_models.py", line 234, in select_checkpoint
  102. raise FileNotFoundError(error_message)
  103. FileNotFoundError: No checkpoints found. When searching for checkpoints, looked at:
  104. - file /home/deck/stable-diffusion-webui-amdgpu/model.ckpt
  105. - directory /home/deck/stable-diffusion-webui-amdgpu/models/Stable-diffusionCan't run without a checkpoint. Find and place a .ckpt or .safetensors file into any of those locations.
  106.  
  107.  
  108. Stable diffusion model failed to load
  109. loading stable diffusion model: FileNotFoundError
  110. Traceback (most recent call last):
  111. File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap
  112. self._bootstrap_inner()
  113. File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
  114. self.run()
  115. File "/home/deck/stable-diffusion-webui-amdgpu/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 807, in run
  116. result = context.run(func, *args)
  117. File "/home/deck/stable-diffusion-webui-amdgpu/venv/lib/python3.11/site-packages/gradio/utils.py", line 707, in wrapper
  118. response = f(*args, **kwargs)
  119. File "/home/deck/stable-diffusion-webui-amdgpu/modules/call_queue.py", line 74, in f
  120. res = list(func(*args, **kwargs))
  121. File "/home/deck/stable-diffusion-webui-amdgpu/modules/call_queue.py", line 53, in f
  122. res = func(*args, **kwargs)
  123. File "/home/deck/stable-diffusion-webui-amdgpu/modules/call_queue.py", line 37, in f
  124. res = func(*args, **kwargs)
  125. File "/home/deck/stable-diffusion-webui-amdgpu/modules/txt2img.py", line 103, in txt2img
  126. p = txt2img_create_processing(id_task, request, *args)
  127. File "/home/deck/stable-diffusion-webui-amdgpu/modules/txt2img.py", line 21, in txt2img_create_processing
  128. sd_model=shared.sd_model,
  129. File "/home/deck/stable-diffusion-webui-amdgpu/modules/shared_items.py", line 190, in sd_model
  130. return modules.sd_models.model_data.get_sd_model()
  131. File "/home/deck/stable-diffusion-webui-amdgpu/modules/sd_models.py", line 693, in get_sd_model
  132. load_model()
  133. File "/home/deck/stable-diffusion-webui-amdgpu/modules/sd_models.py", line 788, in load_model
  134. checkpoint_info = checkpoint_info or select_checkpoint()
  135. ^^^^^^^^^^^^^^^^^^^
  136. File "/home/deck/stable-diffusion-webui-amdgpu/modules/sd_models.py", line 234, in select_checkpoint
  137. raise FileNotFoundError(error_message)
  138. FileNotFoundError: No checkpoints found. When searching for checkpoints, looked at:
  139. - file /home/deck/stable-diffusion-webui-amdgpu/model.ckpt
  140. - directory /home/deck/stable-diffusion-webui-amdgpu/models/Stable-diffusionCan't run without a checkpoint. Find and place a .ckpt or .safetensors file into any of those locations.
  141.  
  142.  
  143. Stable diffusion model failed to load
  144. loading stable diffusion model: FileNotFoundError
  145. Traceback (most recent call last):
  146. File "/home/deck/stable-diffusion-webui-amdgpu/modules/processing.py", line 832, in process_images
  147. sd_models.reload_model_weights()
  148. File "/home/deck/stable-diffusion-webui-amdgpu/modules/sd_models.py", line 952, in reload_model_weights
  149. checkpoint_info = info or select_checkpoint()
  150. ^^^^^^^^^^^^^^^^^^^
  151. File "/home/deck/stable-diffusion-webui-amdgpu/modules/sd_models.py", line 234, in select_checkpoint
  152. raise FileNotFoundError(error_message)
  153. FileNotFoundError: No checkpoints found. When searching for checkpoints, looked at:
  154. - file /home/deck/stable-diffusion-webui-amdgpu/model.ckpt
  155. - directory /home/deck/stable-diffusion-webui-amdgpu/models/Stable-diffusionCan't run without a checkpoint. Find and place a .ckpt or .safetensors file into any of those locations.
  156.  
  157. During handling of the above exception, another exception occurred:
  158.  
  159. Traceback (most recent call last):
  160. File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap
  161. self._bootstrap_inner()
  162. File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
  163. self.run()
  164. File "/home/deck/stable-diffusion-webui-amdgpu/venv/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 807, in run
  165. result = context.run(func, *args)
  166. File "/home/deck/stable-diffusion-webui-amdgpu/venv/lib/python3.11/site-packages/gradio/utils.py", line 707, in wrapper
  167. response = f(*args, **kwargs)
  168. File "/home/deck/stable-diffusion-webui-amdgpu/modules/call_queue.py", line 74, in f
  169. res = list(func(*args, **kwargs))
  170. File "/home/deck/stable-diffusion-webui-amdgpu/modules/call_queue.py", line 53, in f
  171. res = func(*args, **kwargs)
  172. File "/home/deck/stable-diffusion-webui-amdgpu/modules/call_queue.py", line 37, in f
  173. res = func(*args, **kwargs)
  174. File "/home/deck/stable-diffusion-webui-amdgpu/modules/txt2img.py", line 109, in txt2img
  175. processed = processing.process_images(p)
  176. File "/home/deck/stable-diffusion-webui-amdgpu/modules/processing.py", line 852, in process_images
  177. sd_models.apply_token_merging(p.sd_model, 0)
  178. File "/home/deck/stable-diffusion-webui-amdgpu/modules/processing.py", line 264, in sd_model
  179. return shared.sd_model
  180. File "/home/deck/stable-diffusion-webui-amdgpu/modules/shared_items.py", line 190, in sd_model
  181. return modules.sd_models.model_data.get_sd_model()
  182. File "/home/deck/stable-diffusion-webui-amdgpu/modules/sd_models.py", line 693, in get_sd_model
  183. load_model()
  184. File "/home/deck/stable-diffusion-webui-amdgpu/modules/sd_models.py", line 788, in load_model
  185. checkpoint_info = checkpoint_info or select_checkpoint()
  186. ^^^^^^^^^^^^^^^^^^^
  187. File "/home/deck/stable-diffusion-webui-amdgpu/modules/sd_models.py", line 234, in select_checkpoint
  188. raise FileNotFoundError(error_message)
  189. FileNotFoundError: No checkpoints found. When searching for checkpoints, looked at:
  190. - file /home/deck/stable-diffusion-webui-amdgpu/model.ckpt
  191. - directory /home/deck/stable-diffusion-webui-amdgpu/models/Stable-diffusionCan't run without a checkpoint. Find and place a .ckpt or .safetensors file into any of those locations.
  192.  
  193.  
  194. Stable diffusion model failed to load
  195. *** Error completing request
  196. *** Arguments: ('task(cbkuop5nqbtt2pd)', <gradio.routes.Request object at 0x7f17a36cef50>, 'apple', '', [], 1, 1, 7, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same sampler', 'Use same scheduler', '', '', [], 0, 20, 'DPM++ 2M', 'Automatic', False, '', 0.8, -1, False, -1, 0, 0, 0, False, False, 'positive', 'comma', 0, False, False, 'start', '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, False, False, False, 0, False) {}
  197. Traceback (most recent call last):
  198. File "/home/deck/stable-diffusion-webui-amdgpu/modules/call_queue.py", line 74, in f
  199. res = list(func(*args, **kwargs))
  200. ^^^^^^^^^^^^^^^^^^^^^
  201. File "/home/deck/stable-diffusion-webui-amdgpu/modules/call_queue.py", line 53, in f
  202. res = func(*args, **kwargs)
  203. ^^^^^^^^^^^^^^^^^^^^^
  204. File "/home/deck/stable-diffusion-webui-amdgpu/modules/call_queue.py", line 37, in f
  205. res = func(*args, **kwargs)
  206. ^^^^^^^^^^^^^^^^^^^^^
  207. File "/home/deck/stable-diffusion-webui-amdgpu/modules/txt2img.py", line 109, in txt2img
  208. processed = processing.process_images(p)
  209. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  210. File "/home/deck/stable-diffusion-webui-amdgpu/modules/processing.py", line 832, in process_images
  211. sd_models.reload_model_weights()
  212. File "/home/deck/stable-diffusion-webui-amdgpu/modules/sd_models.py", line 952, in reload_model_weights
  213. checkpoint_info = info or select_checkpoint()
  214. ^^^^^^^^^^^^^^^^^^^
  215. File "/home/deck/stable-diffusion-webui-amdgpu/modules/sd_models.py", line 234, in select_checkpoint
  216. raise FileNotFoundError(error_message)
  217. FileNotFoundError: No checkpoints found. When searching for checkpoints, looked at:
  218. - file /home/deck/stable-diffusion-webui-amdgpu/model.ckpt
  219. - directory /home/deck/stable-diffusion-webui-amdgpu/models/Stable-diffusionCan't run without a checkpoint. Find and place a .ckpt or .safetensors file into any of those locations.
  220.  
  221. ---
  222.  
  223.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement