diff --git a/examples/contrastive/contrastive.cpp b/examples/contrastive/contrastive.cpp index 24616b347..0e5c01a59 100644 --- a/examples/contrastive/contrastive.cpp +++ b/examples/contrastive/contrastive.cpp @@ -179,6 +179,7 @@ int main(int argc, char ** argv) { } LOG_TEE("%s", llama_token_to_piece(ctx_expert, new_token_id_expert).c_str()); + fflush(stdout); // prepare the next batch llama_batch_clear(batch);