mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2025-12-18 02:24:28 +08:00
Add warning for torch-directml usage (#10482)
Added a warning message about the state of torch-directml.
This commit is contained in:
parent
e86b79ab9e
commit
098a352f13
@ -89,6 +89,7 @@ if args.deterministic:
|
|||||||
|
|
||||||
directml_enabled = False
|
directml_enabled = False
|
||||||
if args.directml is not None:
|
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
|
import torch_directml
|
||||||
directml_enabled = True
|
directml_enabled = True
|
||||||
device_index = args.directml
|
device_index = args.directml
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user