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

Why Qwen2VL can generate normally with zero visual_features #2528

Open
YSF-A opened this issue Dec 4, 2024 · 1 comment
Open

Why Qwen2VL can generate normally with zero visual_features #2528

YSF-A opened this issue Dec 4, 2024 · 1 comment

Comments

@YSF-A
Copy link

YSF-A commented Dec 4, 2024

With the default image, Qwen2VL can generate normally.

When I replace visual_features with zero tensor (add visual_features[:,:]=0 after https://github.com/NVIDIA/TensorRT-LLM/blob/main/tensorrt_llm/runtime/multimodal_model_runner.py#L699) , it can also generate normally and the result is the same.

Why Qwen2VL can generate normally with zero visual_features? Is the information of image included by somewhere else?

@sunnyqgg
Copy link
Collaborator

Hi @YSF-A ,
Could you try it with the latest main and if it still exists, please let me know it

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

No branches or pull requests

2 participants