Skip to content
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

[VLM] Update mllama traceable definition #1140

Merged
merged 5 commits into from
Feb 15, 2025
Merged

Conversation

kylesayrs
Copy link
Collaborator

Purpose

  • Ensure compatibility with transformers>=4.50 by replacing num_logits_to_keep with logits_to_keep

https://github.com/huggingface/transformers/blob/1fae54c7216e144b426e753400abdc1299d4fc74/src/transformers/models/mllama/modeling_mllama.py#L2025-L2028

Changes

  • Update function definition

Testing

  • Ran mllama example

Signed-off-by: Kyle Sayers <[email protected]>
Copy link

👋 Hi! Thank you for contributing to llm-compressor. Please add the ready label when the PR is ready for review.

Note: This is required to complete the testing suite, please only add the label once the PR is code complete and local testing has been performed.

Signed-off-by: Kyle Sayers <[email protected]>
Signed-off-by: Kyle Sayers <[email protected]>
Signed-off-by: Kyle Sayers <[email protected]>
Copy link
Collaborator

@brian-dellabetta brian-dellabetta left a comment

Choose a reason for hiding this comment

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

👍

@dsikka dsikka enabled auto-merge (squash) February 15, 2025 00:17
@dsikka dsikka merged commit c2db397 into main Feb 15, 2025
7 checks passed
@dsikka dsikka deleted the kylesayrs/update-mllama branch February 15, 2025 00:17
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.

3 participants