[Misc] Add online audio_in_video test#36775
Conversation
There was a problem hiding this comment.
Code Review
This pull request adds tests for the audio_in_video feature. A new end-to-end test is added for the Qwen2.5-Omni model to verify online serving with audio extracted from video. Additionally, a unit test is added to test_audio.py to verify the AudioMediaIO.load_bytes method's capability to extract audio from video bytes. The changes are a good addition, but there is a critical issue in the new end-to-end test where a local, hardcoded model path is used. This will prevent the test from running in other environments and needs to be addressed.
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
3bbb1d1 to
7a45b27
Compare
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
|
Hi @Isotr0py, the pre-commit checks have failed. Please run: uv pip install pre-commit
pre-commit install
pre-commit run --all-filesThen, commit the changes and push to your branch. For future commits, Tip Is
|
|
Hi @Isotr0py, the pre-commit checks have failed. Please run: uv pip install pre-commit
pre-commit install
pre-commit run --all-filesThen, commit the changes and push to your branch. For future commits, Tip Is
|
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> Signed-off-by: Athrael Soju <athrael.soju@gmail.com>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Purpose
Test Plan
Test Result
Tests should pass.
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.