Skip to content

Add Llama4 Multi-Modal Support #382

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

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
Draft

Add Llama4 Multi-Modal Support #382

wants to merge 15 commits into from

Conversation

vbaddi
Copy link
Contributor

@vbaddi vbaddi commented Apr 29, 2025

No description provided.

vbaddi and others added 2 commits April 29, 2025 10:43
@quic-rishinr quic-rishinr marked this pull request as draft April 30, 2025 05:37
def __qeff_init__(self):
self.rotary_embedding = QEffLlama4VisionRotaryEmbedding(config=self.config)

def forward(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

do we need this forward? remove

17, # constants.INTERN_NUM_PATCHES,
14, # constants.INTERN_FEATURE_SIZE,
inputs_shapes["vision_embeds"] = (
1, # constants.INTERN_NUM_PATCHES,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

move to constants? or compute based on the code.

Signed-off-by: Amit Raj <[email protected]>
ochougul and others added 2 commits May 18, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants