From c320801187afb4ade1bfb71bc853979def776956 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Mon, 28 Oct 2024 17:41:12 -0400 Subject: [PATCH] Remove useless line. --- comfy/sd.py | 1 - 1 file changed, 1 deletion(-) diff --git a/comfy/sd.py b/comfy/sd.py index a65382b8..e9a3579c 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)