Remove useless line.

This commit is contained in:
comfyanonymous 2024-10-28 17:41:12 -04:00
parent c0b0cfaeec
commit c320801187

View File

@ -455,7 +455,6 @@ def detect_te_model(sd):
def t5xxl_detect(clip_data): def t5xxl_detect(clip_data):
weight_name = "encoder.block.23.layer.1.DenseReluDense.wi_1.weight" weight_name = "encoder.block.23.layer.1.DenseReluDense.wi_1.weight"
dtype_t5 = None
for sd in clip_data: for sd in clip_data:
if weight_name in sd: if weight_name in sd:
return comfy.text_encoders.sd3_clip.t5_xxl_detect(sd) return comfy.text_encoders.sd3_clip.t5_xxl_detect(sd)