Skip to content

Commit e70fbc5

Browse files
[CI/Build] Loosen STT LoRA Translate Check (Flaky Test) (#28247)
Signed-off-by: Alex-Brooks <[email protected]> Signed-off-by: Alex Brooks <[email protected]> Co-authored-by: Cyrus Leung <[email protected]>
1 parent 4bf56c7 commit e70fbc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/entrypoints/openai/test_translation_validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ async def test_basic_audio_with_lora(mary_had_lamb):
7979
temperature=0.0,
8080
)
8181
out = json.loads(translation)["text"].strip().lower()
82-
assert "mary tenía un pequeño cordero" in out
82+
assert "pequeño" in out.split(" ")
8383

8484

8585
# NOTE: (NickLucche) the large-v3-turbo model was not trained on translation!

0 commit comments

Comments
 (0)