mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-23 18:13:28 +08:00
Fix string not being f-string when printing logging error
This commit is contained in:
parent
6621f0c008
commit
7506c7baed
@ -28,7 +28,7 @@ try:
|
|||||||
import triton
|
import triton
|
||||||
logging.info(f"Found triton package installed. Enabling comfy-kitchen triton backend.")
|
logging.info(f"Found triton package installed. Enabling comfy-kitchen triton backend.")
|
||||||
except ImportError as e:
|
except ImportError as e:
|
||||||
logging.error("Failed to import triton, Error: {e}, the comfy-kitchen triton backend will not be available.")
|
logging.error(f"Failed to import triton, Error: {e}, the comfy-kitchen triton backend will not be available.")
|
||||||
ck.registry.disable("triton")
|
ck.registry.disable("triton")
|
||||||
else:
|
else:
|
||||||
ck.registry.disable("triton")
|
ck.registry.disable("triton")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user