-
Notifications
You must be signed in to change notification settings - Fork 77
Fix compile error for Gemma3 multimodal inputs #671
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
Fix compile error for Gemma3 multimodal inputs #671
Conversation
🚧 CI BlockedThe main CI workflow was not started for the following reason:
|
| class HPUConv2dLayer(Conv2dLayer): | ||
|
|
||
| def _forward_mulmat(self, x: torch.Tensor) -> torch.Tensor: | ||
| assert x.dim() == 4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| assert x.dim() == 4 | |
| assert x.dim() == 4, f"Expected NCHW, got {x.shape}" |
slightly clearer version
✅ CI PassedAll checks passed successfully against the following vllm commit: |
-replace unfold to view/reshape -replace text embedding to avoid dynamic shape -remove merge_multimodal replacement since masked_scatter issue is fixed -enable gemma3 model test Signed-off-by: Jimin Ha <jimin.ha@intel.com>
29431db to
bc58c71
Compare
🚧 CI BlockedThe main CI workflow was not started for the following reason:
|
Signed-off-by: Jimin Ha <jimin.ha@intel.com>
🚧 CI BlockedThe main CI workflow was not started for the following reason:
|
✅ CI PassedAll checks passed successfully against the following vllm commit: |
Due to the latest changes from upstream, gemma3 is failing to compile on HPU vllm-project/vllm#27772 vllm-project/vllm#28842 -replace unfold to view/reshape -replace text embedding to avoid dynamic shape -remove merge_multimodal replacement since masked_scatter issue is fixed -enable back gemma3 model test --------- Signed-off-by: Jimin Ha <jimin.ha@intel.com>
Due to the latest changes from upstream, gemma3 is failing to compile on HPU
vllm-project/vllm#27772
vllm-project/vllm#28842
-replace unfold to view/reshape
-replace text embedding to avoid dynamic shape
-remove merge_multimodal replacement since masked_scatter issue is fixed
-enable back gemma3 model test