mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 02:15:17 +00:00
Remove useless line.
This commit is contained in:
parent
c0b0cfaeec
commit
c320801187
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user