Skip to content

SigLIP example add chat_template#29902

Merged
DarkLight1337 merged 4 commits intovllm-project:mainfrom
piood:add_siglip_use_chat_template_example
Dec 3, 2025
Merged

SigLIP example add chat_template#29902
DarkLight1337 merged 4 commits intovllm-project:mainfrom
piood:add_siglip_use_chat_template_example

Conversation

@piood
Copy link
Copy Markdown
Contributor

@piood piood commented Dec 2, 2025

Purpose

  • Simple chat_template use, --chat-template path will auto check and redirect to build in chat-template when the path not found.
  • SigLIP online serving need --chat-template template_basic.jinja to use correct chat_template, update the example.

@mergify
Copy link
Copy Markdown

mergify bot commented Dec 2, 2025

Documentation preview: https://vllm--29902.org.readthedocs.build/en/29902/

@mergify mergify bot added the documentation Improvements or additions to documentation label Dec 2, 2025
@mergify
Copy link
Copy Markdown

mergify bot commented Dec 2, 2025

This pull request has merge conflicts that must be resolved before it can be
merged. Please rebase the PR, @piood.

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

@mergify mergify bot added the needs-rebase label Dec 2, 2025
@piood piood mentioned this pull request Dec 2, 2025
4 tasks
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request aims to fix the SigLIP example by adding a chat template. However, the chosen template template_basic.jinja is incorrect for this multimodal use case and will cause the server to error out when processing image inputs. I've provided a critical review comment with a detailed explanation and a suggestion for a correct template.

@DarkLight1337
Copy link
Copy Markdown
Member

Can you resolve the merge conflict?

@github-project-automation github-project-automation bot moved this to In review in NVIDIA Dec 3, 2025
@DarkLight1337 DarkLight1337 removed documentation Improvements or additions to documentation performance Performance-related issues rocm Related to AMD ROCm ci/build v1 tool-calling qwen Related to Qwen models deepseek Related to DeepSeek models nvidia labels Dec 3, 2025
@mergify mergify bot added the documentation Improvements or additions to documentation label Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation frontend multi-modality Related to multi-modality (#4194) ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants