[CI] Fix Unlimited-OCR loading after upstream model_type rename (#61590)

Signed-off-by: Artem Perevedentsev <aperevedents@nvidia.com>
This commit is contained in:
Artem Perevedentsev
2026-10-14 01:24:24 -07:00
committed by GitHub
parent 467b024f21
commit bb1438a93f
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -38,6 +38,7 @@ _MODEL_TYPES_WITH_INCORRECT_TOKENIZER_CLASS: set[str] = {
"step3_vl",
"step3p7",
"unlimited-ocr",
"unlimited_ocr",
}
_VLLM_TOKENIZERS = {
@@ -29,6 +29,7 @@ _MODEL_TYPE_TO_CHAT_TEMPLATE_FALLBACK: dict[str, ChatTemplatePath] = {
"deepseek_ocr": CHAT_TEMPLATES_DIR / "template_deepseek_ocr.jinja",
"deepseek_ocr2": CHAT_TEMPLATES_DIR / "template_deepseek_ocr.jinja",
"unlimited-ocr": CHAT_TEMPLATES_DIR / "template_deepseek_ocr.jinja",
"unlimited_ocr": CHAT_TEMPLATES_DIR / "template_deepseek_ocr.jinja",
"deepseek_vl_v2": CHAT_TEMPLATES_DIR / "template_deepseek_vl2.jinja",
"minicpmv": _get_minicpmv_chat_template_fallback,
"minicpmv4_6": _get_minicpmv_chat_template_fallback,
+1
View File
@@ -162,6 +162,7 @@ _CONFIG_REGISTRY: dict[str, type[PreTrainedConfig]] = LazyConfigDict(
qianfan_ocr="QianfanOCRConfig",
qwen3_asr="Qwen3ASRConfig",
**{"unlimited-ocr": "UnlimitedOCRConfig"},
unlimited_ocr="UnlimitedOCRConfig",
**{"deepseek_v41": "DeepseekV41Config"},
inkling_mm_model="InklingMMConfig",
inkling_model="InklingModelConfig",