[feat] add GlmgaProcessor specific logits in glm4_1v.py (#43575)

Signed-off-by: JaredforReal <w13431838023@gmail.com>
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: Isotr0py <Isotr0py@outlook.com>
Co-authored-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Co-authored-by: Isotr0py <Isotr0py@outlook.com>
This commit is contained in:
Jared Wen
2026-05-29 02:56:02 +00:00
committed by GitHub
co-authored by Isotr0py Isotr0py
parent 7bd45da585
commit 212deff2ec
3 changed files with 346 additions and 33 deletions
+4 -1
View File
@@ -935,7 +935,10 @@ _MULTIMODAL_EXAMPLE_MODELS = {
trust_remote_code=True,
hf_overrides={"architectures": ["GLM4VForCausalLM"]},
),
"Glm4vForConditionalGeneration": _HfExamplesInfo("zai-org/GLM-4.1V-9B-Thinking"),
"Glm4vForConditionalGeneration": _HfExamplesInfo(
"zai-org/GLM-4.1V-9B-Thinking",
extras={"4.6V": "zai-org/GLM-4.6V-Flash"},
),
"Glm4vMoeForConditionalGeneration": _HfExamplesInfo("zai-org/GLM-4.5V"),
"GlmOcrForConditionalGeneration": _HfExamplesInfo(
"zai-org/GLM-OCR",