[Misc] Lazy import registered processors (#36024)

Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Co-authored-by: Roger Wang <hey@rogerw.io>
This commit is contained in:
Isotr0py
2026-03-06 06:06:45 -08:00
committed by GitHub
co-authored by Roger Wang
parent fcb73f306c
commit 1d0c0d209c
15 changed files with 68 additions and 51 deletions
+2 -5
View File
@@ -1020,18 +1020,15 @@ _MULTIMODAL_EXAMPLE_MODELS = {
min_transformers_version="4.57",
),
"Qwen3ASRForConditionalGeneration": _HfExamplesInfo(
"Qwen/Qwen3-ASR-1.7B",
"Qwen/Qwen3-ASR-0.6B",
max_model_len=4096,
min_transformers_version="4.57",
is_available_online=False,
),
"Qwen3ASRRealtimeGeneration": _HfExamplesInfo(
"Qwen/Qwen3-ASR-1.7B",
"Qwen/Qwen3-ASR-0.6B",
max_model_len=4096,
min_transformers_version="4.57",
enforce_eager=True,
hf_overrides={"architectures": ["Qwen3ASRRealtimeGeneration"]},
is_available_online=False,
),
"RForConditionalGeneration": _HfExamplesInfo("YannQi/R-4B", trust_remote_code=True),
"SkyworkR1VChatModel": _HfExamplesInfo(