Skip to content

fix(glm5next): pin multimodal processor revision - #497

Merged
lukealonso merged 1 commit into
dev/jovian-judgementfrom
codex/glm53-processor-revision-20260828
Aug 28, 2026
Merged

fix(glm5next): pin multimodal processor revision#497
lukealonso merged 1 commit into
dev/jovian-judgementfrom
codex/glm53-processor-revision-20260828

Conversation

@voipmonitor

Copy link
Copy Markdown

Resulting behavior

Status: implemented.

The native GLM-5.3 processing stack passes ModelConfig.revision when it loads tokenizer, image-processor, and video-processor metadata. Repository-backed launches therefore resolve processor artifacts from the same checkpoint revision as model weights. Local checkpoint paths retain their established behavior.

This prevents a pinned model revision from silently combining its weights with processor metadata from a moving repository branch.

Source contract

  • Base: local-inference-lab/vllm:dev/jovian-judgement at c79f35ca00e8e93e0943a0d79b85b22b18aac939.
  • Head: 1bb599d4215aee0c0aa6b7b7534ff98e9ef26cbe.
  • ModelConfig.revision=None preserves Hugging Face default revision resolution.
  • Explicit revisions are forwarded unchanged to the repository-backed processor configuration lookup.

Validation

  • tests/models/test_glm5next_model.py -k processor: 3 passed, 28 deselected.
  • Repository pre-commit hooks, including Ruff, mypy, SPDX, forbidden-import, and configuration checks: passed.
  • git diff --check: passed.
  • The composed TP4 runtime loaded target and draft checkpoints from pinned Hugging Face snapshot revisions and served an OpenAI-compatible completion.

Duplicate-work check

Open upstream and local-inference-lab/vllm pull requests were searched for GLM processor, tokenizer, and revision propagation. No open focused pull request passes ModelConfig.revision through this GLM native processor path. vllm-project/vllm#41834 is a broad DeepSeek V4 and GLM SM120 enablement branch and does not provide this focused revision-propagation contract.

Review disclosure

OpenAI Codex assisted with implementation, tests, runtime qualification, and pull-request preparation. Human review of every changed line and the repository-revision contract is required before merge.

Pass ModelConfig.revision when the GLM-5.3 native processor loads tokenizer, image, and video metadata. Repository-backed launches therefore keep processor artifacts on the same checkpoint revision as the model weights; local checkpoint behavior is unchanged.

Validation: 3 processor tests passed in the source-composed CUDA 13.3 runtime; Ruff check and format validation passed.

Assisted-by: OpenAI Codex <codex@openai.com>
Signed-off-by: Martin Vit <martin@voipmonitor.org>
@coderabbitai

coderabbitai Bot commented Aug 28, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 58 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: df47d3d3-bf21-41cf-a10b-de721817f2d6

📥 Commits

Reviewing files that changed from the base of the PR and between c79f35c and 1bb599d.

📒 Files selected for processing (2)
  • tests/models/test_glm5next_model.py
  • vllm/models/glm5next/nvidia/multimodal.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants