From 0e4320dea3d21a1e5bfc94f6c68f3e161c50e68f Mon Sep 17 00:00:00 2001 From: Yih-Dar <2521628+ydshieh@users.noreply.github.com> Date: Wed, 17 Apr 2024 11:46:33 +0200 Subject: [PATCH] Fix test `ExamplesTests::test_run_translation` (#30281) fix Co-authored-by: ydshieh --- examples/pytorch/test_pytorch_examples.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/pytorch/test_pytorch_examples.py b/examples/pytorch/test_pytorch_examples.py index 1d4f8db9259087..9c86347f98c243 100644 --- a/examples/pytorch/test_pytorch_examples.py +++ b/examples/pytorch/test_pytorch_examples.py @@ -372,6 +372,7 @@ def test_run_translation(self): --predict_with_generate --source_lang en_XX --target_lang ro_RO + --max_source_length 512 """.split() with patch.object(sys, "argv", testargs):