Skip to content

feat: support embedding interface for all generate VLM models.#1136

Open
xanecdotex wants to merge 1 commit intojd-opensource:mainfrom
xanecdotex:dvlp/qwen3vlemb
Open

feat: support embedding interface for all generate VLM models.#1136
xanecdotex wants to merge 1 commit intojd-opensource:mainfrom
xanecdotex:dvlp/qwen3vlemb

Conversation

@xanecdotex
Copy link
Copy Markdown
Collaborator

No description provided.

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 refactors the model architecture by removing the specialized EmbeddingVLM interface and integrating the pooler functionality directly into the CausalVLM base class and its implementations. This change simplifies the model hierarchy and registry logic by deleting embedding_vlm.h and removing redundant factory functions. However, a critical issue was identified: several language model implementations, such as Glm4, Oxygen, and Qwen3, are missing the pooler method. Since the updated VLM classes now delegate pooling operations to these underlying models, the missing implementations will result in compilation failures.

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.

1 participant