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.

Temporarily disable auto enabling triton by default on AMD. (#14878)

comfyanonymousf3a36e748448
diff --git a/comfy/quant_ops.py b/comfy/quant_ops.py
index b1aabdc93..15f9b1fdb 100644
--- a/comfy/quant_ops.py
+++ b/comfy/quant_ops.py
@@ -48,7 +48,7 @@ try:
# older Triton lacks libdevice.rint on the HIP backend and hard-crashes the INT8 path.
if args.disable_triton_backend:
ck.registry.disable("triton")
- elif args.enable_triton_backend or (torch.version.hip is not None and _rocm_kitchen_arch_supported()):
+ elif args.enable_triton_backend: # or (torch.version.hip is not None and _rocm_kitchen_arch_supported()):
try:
import triton
triton_version = tuple(int(v) for v in triton.__version__.split(".")[:2])