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 old pytorch. (#11718)

comfyanonymous21e842508733
diff --git a/comfy/quant_ops.py b/comfy/quant_ops.py
index 5a17bc6f5..8324be42a 100644
--- a/comfy/quant_ops.py
+++ b/comfy/quant_ops.py
@@ -19,6 +19,7 @@ try:
cuda_version = tuple(map(int, str(torch.version.cuda).split('.')))
if cuda_version < (13,):
ck.registry.disable("cuda")
+ logging.warning("WARNING: You need pytorch with cu130 or higher to use optimized CUDA operations.")
ck.registry.disable("triton")
for k, v in ck.list_backends().items():