Skip to content

Commit af4f83f

Browse files
committed
Remove TODOs
1 parent caf2b85 commit af4f83f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

conditioner.hpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -809,10 +809,6 @@ struct SD3CLIPEmbedder : public Conditioner {
809809
&pooled_l,
810810
work_ctx);
811811

812-
// clip_l.transformer.text_model.text_projection no in file, ignore
813-
// TODO: use torch.eye(embed_dim) as default clip_l.transformer.text_model.text_projection
814-
// pooled_l = ggml_new_tensor_1d(work_ctx, GGML_TYPE_F32, 768);
815-
// ggml_set_f32(pooled_l, 0.f);
816812
}
817813
}
818814

@@ -862,11 +858,7 @@ struct SD3CLIPEmbedder : public Conditioner {
862858
true,
863859
&pooled_g,
864860
work_ctx);
865-
// clip_l.transformer.text_model.text_projection no in file, ignore pooled_g too
866861

867-
// TODO: fix pooled_g
868-
// pooled_g = ggml_new_tensor_1d(work_ctx, GGML_TYPE_F32, 1280);
869-
// ggml_set_f32(pooled_g, 0.f);
870862
}
871863
}
872864

@@ -1116,10 +1108,6 @@ struct FluxCLIPEmbedder : public Conditioner {
11161108
&pooled,
11171109
work_ctx);
11181110

1119-
// clip_l.transformer.text_model.text_projection no in file, ignore
1120-
// TODO: use torch.eye(embed_dim) as default clip_l.transformer.text_model.text_projection
1121-
// pooled = ggml_new_tensor_1d(work_ctx, GGML_TYPE_F32, 768);
1122-
// ggml_set_f32(pooled, 0.f);
11231111
}
11241112

11251113
// t5

0 commit comments

Comments
 (0)