Skip to content

Commit 136b595

Browse files
committed
fix
1 parent fba7b42 commit 136b595

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/shared_init.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
from modules import shared
66
from modules.shared import cmd_opts
7-
from modules.dml import directml_init, directml_do_hijack
8-
from modules.zluda import initialize_zluda
97

108

119
def initialize():
@@ -26,6 +24,7 @@ def initialize():
2624
pass
2725

2826
if cmd_opts.use_directml:
27+
from modules.dml import directml_init, directml_do_hijack
2928
directml_init()
3029
directml_do_hijack()
3130
else:
@@ -72,4 +71,5 @@ def initialize():
7271
initialize_onnx()
7372

7473
if devices.backend == "zluda":
74+
from modules.zluda import initialize_zluda
7575
initialize_zluda()

0 commit comments

Comments
 (0)