Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
- │ E:\AI\stable-diffusion-webui-directml\launch.py:39 in <module> │
- │ │
- │ 36 │
- │ 37 │
- │ 38 if __name__ == "__main__": │
- │ ❱ 39 │ main() │
- │ 40 │
- │ │
- │ E:\AI\stable-diffusion-webui-directml\launch.py:35 in main │
- │ │
- │ 32 │ if args.test_server: │
- │ 33 │ │ configure_for_tests() │
- │ 34 │ │
- │ ❱ 35 │ start() │
- │ 36 │
- │ 37 │
- │ 38 if __name__ == "__main__": │
- │ │
- │ E:\AI\stable-diffusion-webui-directml\modules\launch_utils.py:443 in start │
- │ │
- │ 440 │
- │ 441 def start(): │
- │ 442 │ print(f"Launching {'API server' if '--nowebui' in sys.argv else 'Web UI'} with argum │
- │ ❱ 443 │ import webui │
- │ 444 │ if '--nowebui' in sys.argv: │
- │ 445 │ │ webui.api_only() │
- │ 446 │ else: │
- │ │
- │ E:\AI\stable-diffusion-webui-directml\webui.py:54 in <module> │
- │ │
- │ 51 startup_timer.record("import ldm") │
- │ 52 │
- │ 53 from modules import extra_networks │
- │ ❱ 54 from modules.call_queue import wrap_gradio_gpu_call, wrap_queued_call, queue_lock # noq │
- │ 55 │
- │ 56 # Truncate version number of nightly/local build of PyTorch to not cause exceptions with │
- │ 57 if ".dev" in torch.__version__ or "+git" in torch.__version__: │
- │ │
- │ E:\AI\stable-diffusion-webui-directml\modules\call_queue.py:6 in <module> │
- │ │
- │ 3 import threading │
- │ 4 import time │
- │ 5 │
- │ ❱ 6 from modules import shared, progress, errors │
- │ 7 │
- │ 8 queue_lock = threading.Lock() │
- │ 9 │
- │ │
- │ E:\AI\stable-diffusion-webui-directml\modules\shared.py:95 in <module> │
- │ │
- │ 92 │
- │ 93 │
- │ 94 if cmd_opts.backend == 'directml': │
- │ ❱ 95 │ directml_do_hijack() │
- │ 96 │
- │ 97 │
- │ 98 def reload_hypernetworks(): │
- │ │
- │ E:\AI\stable-diffusion-webui-directml\modules\dml\__init__.py:69 in directml_do_hijack │
- │ │
- │ 66 │ │ │ lambda orig_func, *args, **kwargs: orig_func(args[0].astype('float32')), │
- │ 67 │ │ │ lambda *args, **kwargs: args[1].dtype == float) │
- │ 68 │ │
- │ ❱ 69 │ _set_memory_provider() │
- │ 70 │
- │ 71 def directml_override_opts(): │
- │ 72 │ _set_memory_provider() │
- │ │
- │ E:\AI\stable-diffusion-webui-directml\modules\dml\__init__.py:14 in _set_memory_provider │
- │ │
- │ 11 do_nothing = lambda: None │
- │ 12 │
- │ 13 def _set_memory_provider(): │
- │ ❱ 14 │ from modules.shared import opts, cmd_opts, log │
- │ 15 │ │
- │ 16 │ if opts.directml_memory_provider == "Performance Counter": │
- │ 17 │ │ from .backend import pdh_mem_get_info │
Advertisement
Add Comment
Please, Sign In to add comment