Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Add warning for torch-directml usage (#10482)

comfyanonymous098a352f136c
diff --git a/comfy/model_management.py b/comfy/model_management.py
index cf015a29a..afe78f36e 100644
--- a/comfy/model_management.py
+++ b/comfy/model_management.py
@@ -89,6 +89,7 @@ if args.deterministic:
directml_enabled = False
if args.directml is not None:
+ logging.warning("WARNING: torch-directml barely works, is very slow, has not been updated in over 1 year and might be removed soon, please don't use it, there are better options.")
import torch_directml
directml_enabled = True
device_index = args.directml