-
Notifications
You must be signed in to change notification settings - Fork 78
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
Enabled and optimized GLM-4v-9b on Gaudi #691
base: habana_main
Are you sure you want to change the base?
Conversation
@@ -1,10 +1,10 @@ | |||
# Adapted from |
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.
Please revert file mode to 100644, same for other files.
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.
Other files are in different file modes. It seems that they cannot be reverted to 100644.
vllm/worker/hpu_model_runner.py
Outdated
@@ -963,7 +961,18 @@ def _prepare_prompt( | |||
pad=0, | |||
dtype=torch.long, | |||
device='cpu') | |||
|
|||
if len(multi_modal_kwargs_list |
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.
@yma11 Please take a look
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.
Removed the change.
@gyou2021 Recently vllm has some update about multi-modal support, especially they introduced InputProcessor for each model, like [VLM] Implement merged multimodal processor for Mllama. Will it affect your implementation and will you do a update based on this? |
Signed-off-by: gyou2021 <ganmei.you@intel.com>
No. It won't affect the implementation. So no update based on this is needed. |
Removed graph recompile caused by the image and different batch size;
Example:
python examples/offline_inference_vision_language.py -m glm4v