[Model] Add LoRA support for Whisper models (#29856)

Signed-off-by: daje0601 <englishmt4118@gmail.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
daje0601
2026-03-05 10:38:25 +08:00
committed by GitHub
co-authored by Claude Opus 4.5
parent 2f4226fe52
commit 3b23d57c96
4 changed files with 185 additions and 14 deletions
+5
View File
@@ -289,6 +289,11 @@ def llama32_lora_files(llama32_lora_huggingface_id):
return snapshot_download(repo_id=llama32_lora_huggingface_id)
@pytest.fixture(scope="session")
def whisper_lora_files():
return snapshot_download(repo_id="chengyili2005/whisper-small-mandarin-lora")
@pytest.fixture
def reset_default_device():
"""