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.

Remove useless line.

comfyanonymousc320801187af
diff --git a/comfy/sd.py b/comfy/sd.py
index a65382b8e..e9a3579c9 100644
--- a/comfy/sd.py
+++ b/comfy/sd.py
@@ -455,7 +455,6 @@ def detect_te_model(sd):
def t5xxl_detect(clip_data):
weight_name = "encoder.block.23.layer.1.DenseReluDense.wi_1.weight"
- dtype_t5 = None
for sd in clip_data:
if weight_name in sd:
return comfy.text_encoders.sd3_clip.t5_xxl_detect(sd)