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

transformers for qwen-2_5_vl has updated #6941

Closed
1 task done
zhangquanchen opened this issue Feb 14, 2025 · 5 comments
Closed
1 task done

transformers for qwen-2_5_vl has updated #6941

zhangquanchen opened this issue Feb 14, 2025 · 5 comments
Labels
solved This problem has been already solved

Comments

@zhangquanchen
Copy link

Reminder

  • I have read the above rules and searched the existing issues.

System Info

llamafactory/data/mm_plugin.py", line 1094, in process_messages
image_processor: "BaseImageProcessor" = getattr(processor, "image_processor")
AttributeError: 'NoneType' object has no attribute 'image_processor'

Reproduction

Put your message here.

Others

No response

@zhangquanchen zhangquanchen added bug Something isn't working pending This problem is yet to be addressed labels Feb 14, 2025
@hiyouga hiyouga added solved This problem has been already solved and removed bug Something isn't working pending This problem is yet to be addressed labels Feb 14, 2025
@Dididiad
Copy link

Hello, I have also encountered this problem. Have you solved it

@zhangquanchen
Copy link
Author

Hi, I refer to the transformers: "Add ImageProcessorFast to Qwen2.5-VL processor (#36164)"[https://github.com/huggingface/transformers/commit/33d1d715b0260efc1c2df1c16d864186b5bb9437], and rollback the version to solve this problem.

@zhangquanchen
Copy link
Author

sorry, @Dididiad . I found that the transformers==4.49.0.dev0 now have solved this confict.
You can update the version by:
pip install git+https://github.com/huggingface/transformers.git

and it seems ok now.

@khazic khazic closed this as completed Feb 17, 2025
@MengHao666
Copy link

sorry, @Dididiad . I found that the transformers==4.49.0.dev0 now have solved this confict. You can update the version by: pip install git+https://github.com/huggingface/transformers.git

and it seems ok now.

It does not work now!😭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved This problem has been already solved
Projects
None yet
Development

No branches or pull requests

5 participants