Dezigner

Untitled

Sep 11th, 2023
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.62 KB | None | 0 0
  1. (base) dez@work:~$ /home/dez/Files/AI/A1111/webui.sh --xformers
  2.  
  3. ################################################################
  4. Install script for stable-diffusion + Web UI
  5. Tested on Debian 11 (Bullseye)
  6. ################################################################
  7.  
  8. ################################################################
  9. Running on dez user
  10. ################################################################
  11.  
  12. ################################################################
  13. Create and activate python venv
  14. ################################################################
  15.  
  16. ################################################################
  17. Launching launch.py...
  18. ################################################################
  19. Cannot locate TCMalloc (improves CPU memory usage)
  20. Python 3.11.4 (main, Jul 5 2023, 14:15:25) [GCC 11.2.0]
  21. Version: v1.6.0
  22. Commit hash: 5ef669de080814067961f28357256e8fe27544f4
  23. Fetching updates for midas...
  24. Checking out commit for midas with hash: 1645b7e...
  25. Launching Web UI with arguments: --xformers
  26. Loading weights [cb15a7187a] from /home/dez/Files/AI/A1111/stable-diffusion-webui/models/Stable-diffusion/Deliberate-inpainting.safetensors
  27. Running on local URL: http://127.0.0.1:7860
  28.  
  29. To create a public link, set `share=True` in `launch()`.
  30. Startup time: 41.3s (prepare environment: 15.2s, import torch: 8.0s, import gradio: 4.1s, setup paths: 6.6s, initialize shared: 0.4s, other imports: 5.0s, setup codeformer: 0.4s, setup gfpgan: 0.1s, list SD models: 0.1s, load scripts: 0.4s, create ui: 0.5s, gradio launch: 1.2s).
  31. Creating model from config: /home/dez/Files/AI/A1111/stable-diffusion-webui/configs/v1-inpainting-inference.yaml
  32. Applying attention optimization: xformers... done.
  33. Model loaded in 21.3s (load weights from disk: 4.3s, create model: 0.8s, apply weights to model: 14.5s, load textual inversion embeddings: 0.2s, calculate empty prompt: 1.4s).
  34. 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:04<00:00, 4.50it/s]
  35. Total progress: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:03<00:00, 6.65it/s]
  36. Loading midas model weights ..████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:03<00:00, 6.69it/s]
  37. Model loaded, number of parameters = 345M
  38. *** Error completing request
  39. *** Arguments: ('task(q5m87joyc3h690d)', 0, 'room', '', [], <PIL.Image.Image image mode=RGBA size=512x512 at 0x7FDD88BE0450>, None, None, None, None, None, None, 20, 'DPM++ 2M Karras', 4, 0, 1, 1, 1, 7, 1.5, 0.75, 0, 512, 512, 1, 0, 0, 32, 0, '', '', '', [], False, [], '', <gradio.routes.Request object at 0x7fdd88bfe950>, 9, False, '', 0.8, -1, False, -1, 0, 0, 0, '* `CFG Scale` should be 2 or lower.', True, True, '', '', True, 50, True, 1, 0, False, 4, 0.5, 'Linear', 'None', '<p style="margin-bottom:0.75em">Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8</p>', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, 'positive', 'comma', 0, False, False, '', '<p style="margin-bottom:0.75em">Will upscale the image by the selected scale factor; use width and height sliders to set tile size</p>', 64, 0, 2, 1, '', [], 0, '', [], 0, '', [], True, False, False, False, 0, False, False, 0, True, 384, 384, False, 0, True, True, False, False) {}
  40. Traceback (most recent call last):
  41. File "/home/dez/Files/AI/A1111/stable-diffusion-webui/modules/call_queue.py", line 57, in f
  42. res = list(func(*args, **kwargs))
  43. ^^^^^^^^^^^^^^^^^^^^^
  44. File "/home/dez/Files/AI/A1111/stable-diffusion-webui/modules/call_queue.py", line 36, in f
  45. res = func(*args, **kwargs)
  46. ^^^^^^^^^^^^^^^^^^^^^
  47. File "/home/dez/Files/AI/A1111/stable-diffusion-webui/modules/img2img.py", line 206, in img2img
  48. processed = modules.scripts.scripts_img2img.run(p, *args)
  49. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  50. File "/home/dez/Files/AI/A1111/stable-diffusion-webui/modules/scripts.py", line 601, in run
  51. processed = script.run(p, *script_args)
  52. ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  53. File "/home/dez/Files/AI/A1111/stable-diffusion-webui/extensions/depthmap2mask/scripts/depth2image_depthmask.py", line 97, in run
  54. d_m = sdmg.calculate_depth_maps(p.init_images[0],img_x,img_y,model_type,invert_depth)
  55. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  56. File "/home/dez/Files/AI/A1111/stable-diffusion-webui/extensions/depthmap2mask/scripts/depthmap_for_depth2img.py", line 306, in calculate_depth_maps
  57. prediction = model.forward(sample)
  58. ^^^^^^^^^^^^^^^^^^^^^
  59. File "/home/dez/Files/AI/A1111/stable-diffusion-webui/repositories/midas/midas/dpt_depth.py", line 166, in forward
  60. return super().forward(x).squeeze(dim=1)
  61. ^^^^^^^^^^^^^^^^^^
  62. File "/home/dez/Files/AI/A1111/stable-diffusion-webui/repositories/midas/midas/dpt_depth.py", line 114, in forward
  63. layers = self.forward_transformer(self.pretrained, x)
  64. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  65. File "/home/dez/Files/AI/A1111/stable-diffusion-webui/repositories/midas/midas/backbones/beit.py", line 15, in forward_beit
  66. return forward_adapted_unflatten(pretrained, x, "forward_features")
  67. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  68. File "/home/dez/Files/AI/A1111/stable-diffusion-webui/repositories/midas/midas/backbones/utils.py", line 86, in forward_adapted_unflatten
  69. exec(f"glob = pretrained.model.{function_name}(x)")
  70. File "<string>", line 1, in <module>
  71. File "/home/dez/Files/AI/A1111/stable-diffusion-webui/repositories/midas/midas/backbones/beit.py", line 125, in beit_forward_features
  72. x = blk(x, resolution, shared_rel_pos_bias=rel_pos_bias)
  73. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  74. File "/home/dez/Files/AI/A1111/stable-diffusion-webui/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
  75. return forward_call(*args, **kwargs)
  76. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  77. File "/home/dez/Files/AI/A1111/stable-diffusion-webui/repositories/midas/midas/backbones/beit.py", line 102, in block_forward
  78. x = x + self.drop_path(self.gamma_1 * self.attn(self.norm1(x), resolution,
  79. ^^^^^^^^^^^^^^
  80. File "/home/dez/Files/AI/A1111/stable-diffusion-webui/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1614, in __getattr__
  81. raise AttributeError("'{}' object has no attribute '{}'".format(
  82. AttributeError: 'Block' object has no attribute 'drop_path'
  83.  
Advertisement
Add Comment
Please, Sign In to add comment