From 05dab4e5ba61d5bb8f8d7e3f71a1f993163c4bab 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 1d4f8db925..9c86347f98 100644 --- a/examples/pytorch/test_pytorch_examples.py +++ b/examples/pytorch/test_pytorch_examples.py @@ -372,6 +372,7 @@ class ExamplesTests(TestCasePlus): --predict_with_generate --source_lang en_XX --target_lang ro_RO + --max_source_length 512 """.split() with patch.object(sys, "argv", testargs):