Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 0b0a436

Browse files
committed
Add back prompt print
1 parent 51dc929 commit 0b0a436

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dist_run.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,8 @@ def decode_in_flight(token):
501501
res_list = res.tolist()
502502
response = tokenizer.decode(res_list)
503503
for i in range(len(response)):
504-
logger.info(f"$$ {color.red}{response[i]} {color.reset} $$\n")
504+
logger.info(f"Prompt: {color.green}{prompt[i]} {color.reset}")
505+
logger.info(f"Response: {color.red}{response[i]} {color.reset}")
505506

506507
# Cleanup
507508
_cleanup()

0 commit comments

Comments
 (0)