Skip to content

Commit

Permalink
Print results
Browse files Browse the repository at this point in the history
  • Loading branch information
as-suvorov committed Jul 3, 2024
1 parent 267b240 commit cdddb38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/python_tests/continuous_batching/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,9 @@ def generate_and_compare_with_reference_text(model_path: Path, prompts: List[str

assert len(ref_texts_for_this_prompt) == len(ov_result.m_generation_ids)
for ref_text, ov_text in zip(ref_texts_for_this_prompt, ov_result.m_generation_ids):
if ref_text != ov_text:
print(ref_text)
print(ov_text)
assert ref_text == ov_text

def run_test_pipeline(tmp_path: str, model_id: str, scheduler_params: dict = None, generation_config = None):
Expand Down

0 comments on commit cdddb38

Please sign in to comment.