-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Hi @Guangxuan-Xiao ,
Issue description:
It appears that the Qwen2_5-VL and Qwen2_VL modeling code in the transformers package has undergone significant changes.
- earliest version: https://github.com/huggingface/transformers/blob/f3f6c86582611976e72be054675e2bf0abb5f775/src/transformers/models/qwen2_5_vl/modeling_qwen2_5_vl.py
- latest version: https://github.com/huggingface/transformers/blob/main/src/transformers/models/qwen2_5_vl/modeling_qwen2_5_vl.py
With transformers version 4.51.3, several modules used in the language_forward.py and vision_forward.py fail to import correctly.
- https://github.com/mit-han-lab/streaming-vlm/blob/main/streaming_vlm/inference/qwen2_5/language_forward.py#L7
- https://github.com/mit-han-lab/streaming-vlm/blob/main/streaming_vlm/inference/qwen2_5/vision_forward.py#L7
Could you verify which transformers version you are currently using? Thanks!
hsiangwei0903
Metadata
Metadata
Assignees
Labels
No labels