[deps] upgrade transformers (#7704)

This commit is contained in:
hoshi-hiyouga
2025-04-13 18:11:34 +08:00
committed by GitHub
parent 8162f94db5
commit f518bfba5b
6 changed files with 22 additions and 13 deletions

View File

@@ -146,6 +146,7 @@ def register_model_group(
any(suffix in name for suffix in ("-Chat", "-Distill", "-Instruct")) or multimodal
):
DEFAULT_TEMPLATE[name] = template
if multimodal:
MULTIMODAL_SUPPORTED_MODELS.add(name)
@@ -736,11 +737,11 @@ register_model_group(
DownloadSource.DEFAULT: "THUDM/GLM-4-32B-Chat-0414",
DownloadSource.MODELSCOPE: "ZhipuAI/GLM-4-32B-Chat-0414" ,
},
"GLM-4-Z1-9B-0414": {
"GLM-4-Z1-9B-Chat-0414": {
DownloadSource.DEFAULT: "THUDM/GLM-4-Z1-9B-0414",
DownloadSource.MODELSCOPE: "ZhipuAI/GLM-4-Z1-9B-0414" ,
},
"GLM-4-Z1-32B-0414": {
"GLM-4-Z1-32B-Chat-0414": {
DownloadSource.DEFAULT: "THUDM/GLM-4-Z1-32B-0414",
DownloadSource.MODELSCOPE: "ZhipuAI/GLM-4-Z1-32B-0414" ,
},