Skip to content

clip : revert the change of BOI/EOI token for GLM-edge (⚠️ breaking change) #13259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 3, 2025

Conversation

ngxson
Copy link
Collaborator

@ngxson ngxson commented May 2, 2025

This reverts #13081

Ref this discussion #13253 to understand more about this change

The problem was that the embeddings for these BOI/EOI tokens are not present in the text model, hence it was distributed as a separated set of embeddings in vision model.

This also highlights the importance of proper commenting the code, as vision model implementations can be quite different from one to another, and also contain abnormal patches / hacking.

CC @piDack can you have a look?

@ngxson ngxson requested a review from ggerganov May 2, 2025 09:15
@piDack
Copy link
Contributor

piDack commented May 3, 2025

Look great

@ngxson ngxson merged commit 36667c8 into ggml-org:master May 3, 2025
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants