Skip to content

Fix llava next text#532

Merged
gkumbhat merged 1 commit into
foundation-model-stack:mainfrom
gkumbhat:fix_llava_next_text
Jun 10, 2026
Merged

Fix llava next text#532
gkumbhat merged 1 commit into
foundation-model-stack:mainfrom
gkumbhat:fix_llava_next_text

Conversation

@gkumbhat

Copy link
Copy Markdown
Collaborator

Changes

llava_next model was incorrectly passing on input_ids instead of embeddings in case of text only inputs. This PR fixes that by invoking embedding resolution for text only calls

@gkumbhat gkumbhat requested a review from flaviabeo June 10, 2026 18:10
Signed-off-by: Gaurav-Kumbhat <Gaurav.Kumbhat@ibm.com>
@gkumbhat gkumbhat force-pushed the fix_llava_next_text branch from 544c2b3 to ed4ebe8 Compare June 10, 2026 18:28

@joerunde joerunde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we verified this fixes the crash in vllm by not changing the input shapes for text-only prompts

@gkumbhat gkumbhat merged commit 54f17e5 into foundation-model-stack:main Jun 10, 2026
4 checks passed
@gkumbhat gkumbhat deleted the fix_llava_next_text branch June 10, 2026 19:53
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