Skip to content

Commit 8e11b5a

Browse files
committed
fix: flux load failed
Signed-off-by: thxCode <thxcode0824@gmail.com>
1 parent 47951a5 commit 8e11b5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conditioner.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ struct FluxCLIPEmbedder : public Conditioner {
10731073
clip_l->get_param_tensors(tensors, "text_encoders.clip_l.transformer.text_model");
10741074
}
10751075
if (compvis_compatiblity_t5xxl) {
1076-
t5->get_param_tensors(tensors, "cond_stage_model.2.transformer");
1076+
t5->get_param_tensors(tensors, "cond_stage_model.1.transformer");
10771077
} else {
10781078
t5->get_param_tensors(tensors, "text_encoders.t5xxl.transformer");
10791079
}

0 commit comments

Comments
 (0)