fix: match chat-template for internvl3 (#8262)

Signed-off-by: Xinyuan Tong <xinyuantong.cs@gmail.com>
Co-authored-by: Xinyuan Tong <xinyuantong.cs@gmail.com>
This commit is contained in:
Xinyuan Tong
2025-07-23 13:29:03 -07:00
committed by GitHub
parent c87d4fec99
commit 70251e935e

View File

@@ -984,7 +984,7 @@ register_conv_template(
@register_conv_template_matching_function
def match_internvl(model_path: str):
if re.search(r"internvl2_5", model_path, re.IGNORECASE):
if re.search(r"internvl", model_path, re.IGNORECASE):
return "internvl-2-5"