Skip to content

bugfix: bind image preprocessing to its model directory. - #2798

Merged
XuZhang99 merged 1 commit into
xLLM-AI:mainfrom
XuZhang99:bugfix/vlm-image-processor-model-path
Nov 20, 2026
Merged

XuZhang99 merged 1 commit into
xLLM-AI:mainfrom
XuZhang99:bugfix/vlm-image-processor-model-path

Conversation

@XuZhang99

@XuZhang99 XuZhang99 commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Offline VLM(model=...) could initialize Hugging Face image preprocessing with an empty CLI model path. Pass the owning model directory through the multimodal processor factory, retain it per image processor, and use it for both warmup and image requests. The shared Python bridge now holds only its callable.

Keep existing LLM generation behavior and legacy processor construction unchanged. Add a CPU regression that alternates two model directories with an empty global CLI model, checking both processed tensors and directory isolation.

Validation on 910b-24 / zx-xllm-npu at 5fda719ac:

  • 53 native regressions passed: image preprocessing 1, offline generation 4, notifier 19, worker transport 12, RPC 8, prompt processing 9.
  • clang-format 20.1.6 and pre-commit passed.
  • python setup.py install passed; source revision, 12 changed-file hashes and installed native hashes verified. The device test package is frozen.
  • Real Qwen3.8 HF configuration loading and CPU image preprocessing passed.
  • Qwen3.8 serial/overlap validation is queued behind installation and an idle-device check; no accuracy results yet.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T05:05:19.591558Z 5fda719 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5fda719ac6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@XuZhang99
XuZhang99 merged commit 030746b into xLLM-AI:main Nov 20, 2026
2 checks passed
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