Skip to content

Commit

Permalink
Removed redundant line
Browse files Browse the repository at this point in the history
  • Loading branch information
mht-sharma committed Nov 10, 2022
1 parent 5c6becb commit 3d97bba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/onnxruntime/test_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -1563,7 +1563,6 @@ def test_compare_with_and_without_past_key_values_model_outputs(self):
model_without_pkv = ORTModelForSpeechSeq2Seq.from_pretrained(model_id, from_transformers=True, use_cache=False)
outputs_model_without_pkv = model_without_pkv.generate(**features)

print(outputs_model_with_pkv, outputs_model_without_pkv)
self.assertTrue(torch.equal(outputs_model_with_pkv, outputs_model_without_pkv))

@parameterized.expand(SUPPORTED_ARCHITECTURES)
Expand Down

0 comments on commit 3d97bba

Please sign in to comment.