[CI/Build] Cleanup VLM tests (#6107)

This commit is contained in:
Cyrus Leung
2024-07-04 09:58:18 +08:00
committed by GitHub
parent 0ed646b7aa
commit 3dd507083f
4 changed files with 5 additions and 8 deletions

View File

@@ -77,6 +77,7 @@ def check_logprobs_close(
# Each predicted token must be in top N logprobs of the other
fail_msg = (
f"Test{prompt_idx}:"
f"\nMatched tokens:\t{output_ids_0[:idx]}"
f"\n{name_0}:\t{output_str_0!r}\t{logprobs_elem_0}"
f"\n{name_1}:\t{output_str_1!r}\t{logprobs_elem_1}")