Vsal1en

Untitled

Jul 31st, 2023
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.27 KB | Software | 0 0
  1.  
  2. ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
  3. │ E:\AI\stable-diffusion-webui-directml\launch.py:39 in <module> │
  4. │ │
  5. │ 36 │
  6. │ 37 │
  7. │ 38 if __name__ == "__main__": │
  8. │ ❱ 39 │ main() │
  9. │ 40 │
  10. │ │
  11. │ E:\AI\stable-diffusion-webui-directml\launch.py:35 in main │
  12. │ │
  13. │ 32 │ if args.test_server: │
  14. │ 33 │ │ configure_for_tests() │
  15. │ 34 │ │
  16. │ ❱ 35 │ start() │
  17. │ 36 │
  18. │ 37 │
  19. │ 38 if __name__ == "__main__": │
  20. │ │
  21. │ E:\AI\stable-diffusion-webui-directml\modules\launch_utils.py:443 in start │
  22. │ │
  23. │ 440 │
  24. │ 441 def start(): │
  25. │ 442 │ print(f"Launching {'API server' if '--nowebui' in sys.argv else 'Web UI'} with argum │
  26. │ ❱ 443 │ import webui │
  27. │ 444 │ if '--nowebui' in sys.argv: │
  28. │ 445 │ │ webui.api_only() │
  29. │ 446 │ else: │
  30. │ │
  31. │ E:\AI\stable-diffusion-webui-directml\webui.py:54 in <module> │
  32. │ │
  33. │ 51 startup_timer.record("import ldm") │
  34. │ 52 │
  35. │ 53 from modules import extra_networks │
  36. │ ❱ 54 from modules.call_queue import wrap_gradio_gpu_call, wrap_queued_call, queue_lock # noq │
  37. │ 55 │
  38. │ 56 # Truncate version number of nightly/local build of PyTorch to not cause exceptions with │
  39. │ 57 if ".dev" in torch.__version__ or "+git" in torch.__version__: │
  40. │ │
  41. │ E:\AI\stable-diffusion-webui-directml\modules\call_queue.py:6 in <module> │
  42. │ │
  43. │ 3 import threading │
  44. │ 4 import time │
  45. │ 5 │
  46. │ ❱ 6 from modules import shared, progress, errors │
  47. │ 7 │
  48. │ 8 queue_lock = threading.Lock() │
  49. │ 9 │
  50. │ │
  51. │ E:\AI\stable-diffusion-webui-directml\modules\shared.py:95 in <module> │
  52. │ │
  53. │ 92 │
  54. │ 93 │
  55. │ 94 if cmd_opts.backend == 'directml': │
  56. │ ❱ 95 │ directml_do_hijack() │
  57. │ 96 │
  58. │ 97 │
  59. │ 98 def reload_hypernetworks(): │
  60. │ │
  61. │ E:\AI\stable-diffusion-webui-directml\modules\dml\__init__.py:69 in directml_do_hijack │
  62. │ │
  63. │ 66 │ │ │ lambda orig_func, *args, **kwargs: orig_func(args[0].astype('float32')), │
  64. │ 67 │ │ │ lambda *args, **kwargs: args[1].dtype == float) │
  65. │ 68 │ │
  66. │ ❱ 69 │ _set_memory_provider() │
  67. │ 70 │
  68. │ 71 def directml_override_opts(): │
  69. │ 72 │ _set_memory_provider() │
  70. │ │
  71. │ E:\AI\stable-diffusion-webui-directml\modules\dml\__init__.py:14 in _set_memory_provider │
  72. │ │
  73. │ 11 do_nothing = lambda: None │
  74. │ 12 │
  75. │ 13 def _set_memory_provider(): │
  76. │ ❱ 14 │ from modules.shared import opts, cmd_opts, log │
  77. │ 15 │ │
  78. │ 16 │ if opts.directml_memory_provider == "Performance Counter": │
  79. │ 17 │ │ from .backend import pdh_mem_get_info │
Tags: bug report
Advertisement
Add Comment
Please, Sign In to add comment