From 2329f8c925a88e936aa9e786d2fa89ec63e24f80 Mon Sep 17 00:00:00 2001 From: silveroxides Date: Thu, 5 Mar 2026 11:44:52 +0100 Subject: [PATCH] run triton import with version check when enable_triton_backend launch arg is used to check if it actually works. --- comfy/quant_ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comfy/quant_ops.py b/comfy/quant_ops.py index 22321f5de..ea8287dae 100644 --- a/comfy/quant_ops.py +++ b/comfy/quant_ops.py @@ -26,7 +26,7 @@ try: if args.enable_triton_backend: try: import triton - logging.info(f"Found triton package installed. Enabling comfy-kitchen triton backend.") + logging.info("Found triton %s. Enabling comfy-kitchen triton backend.", triton.__version__) except ImportError as e: logging.error(f"Failed to import triton, Error: {e}, the comfy-kitchen triton backend will not be available.") ck.registry.disable("triton")