[feat] add torchcodec as audio loader and implement selective audio backend (#51826)

Signed-off-by: JaredforReal <w13431838023@gmail.com>
Co-authored-by: saltman155 <saltman155@outlook.com>
Co-authored-by: Isotr0py <Isotr0py@outlook.com>
This commit is contained in:
Jared Wen
2026-09-04 16:16:10 +00:00
committed by GitHub
co-authored by saltman155 Isotr0py
parent 131e0285f6
commit 6a039f465e
4 changed files with 444 additions and 65 deletions
@@ -172,7 +172,7 @@ async def test_invalid_audio_file(whisper_client):
)
assert exc_info.value.status_code == 400
assert "Invalid or unsupported audio file" in exc_info.value.message
assert "Invalid or corrupted audio data" in exc_info.value.message
@pytest.mark.asyncio