Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 60f2192

Browse files
committed
remove useless logging
1 parent 7a3a166 commit 60f2192

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

conditioner.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,6 @@ struct FluxCLIPEmbedder : public Conditioner {
11061106

11071107
auto it = std::find(chunk_tokens.begin(), chunk_tokens.end(), clip_l_tokenizer.EOS_TOKEN_ID);
11081108
max_token_idx = std::min<size_t>(std::distance(chunk_tokens.begin(), it), chunk_tokens.size() - 1);
1109-
LOG_INFO("max_token_idx = %d",max_token_idx);
11101109

11111110
clip_l->compute(n_threads,
11121111
input_ids,
@@ -1117,8 +1116,6 @@ struct FluxCLIPEmbedder : public Conditioner {
11171116
&pooled,
11181117
work_ctx);
11191118

1120-
LOG_INFO("pooled->ne = [%d, %d, %d, %d] ",pooled->ne[0], pooled->ne[1], pooled->ne[2], pooled->ne[3]);
1121-
11221119
// clip_l.transformer.text_model.text_projection no in file, ignore
11231120
// TODO: use torch.eye(embed_dim) as default clip_l.transformer.text_model.text_projection
11241121
// pooled = ggml_new_tensor_1d(work_ctx, GGML_TYPE_F32, 768);

0 commit comments

Comments
 (0)