Skip to content

Commit 8287c64

Browse files
author
anyshu
committed
fix bug
1 parent 895d7a6 commit 8287c64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/server/server-diffusion.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4707,7 +4707,7 @@ static bool diffusion_step_callback(int32_t step,
47074707
step, total_steps, n_tokens, data->n_input, data->diff_params->max_length);
47084708

47094709
// Debug: Print first few tokens to see what's in the array
4710-
std::string current_text = "Token array sample (first 20 after input): ";
4710+
std::string current_text = "";//"Token array sample (first 20 after input): ";
47114711
for (int32_t i = data->n_input; i < n_tokens; i++) {
47124712
std::string token_str;
47134713
if (tokens[i] != llama_vocab_mask(data->vocab)) {
@@ -4723,7 +4723,7 @@ static bool diffusion_step_callback(int32_t step,
47234723

47244724
current_text += token_str;
47254725
}
4726-
SRV_INF("%s\n", current_text.c_str());
4726+
// SRV_INF("%s\n", current_text.c_str());
47274727

47284728
auto print_progress_bar = [](int32_t step, int32_t total_steps) {
47294729
int progress_percent = (step * 100) / total_steps;

0 commit comments

Comments
 (0)