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

Qwen2_5_VLForConditionalGeneration #723

Open
Wuhuddy opened this issue Feb 5, 2025 · 1 comment
Open

Qwen2_5_VLForConditionalGeneration #723

Wuhuddy opened this issue Feb 5, 2025 · 1 comment

Comments

@Wuhuddy
Copy link

Wuhuddy commented Feb 5, 2025

本地推理时报错
ImportError: cannot import name 'Qwen2_5_VLForConditionalGeneration' from 'transformers' (/root/miniconda3/envs/llama_factory/lib/python3.11/site-packages/transformers/__init__.py)

transformers版本
root@vllm-dev:/home/aigc_worker/aigc/vllm# pip show transformers Name: transformers Version: 4.48.2 Summary: State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow Home-page: https://github.com/huggingface/transformers Author: The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/transformers/graphs/contributors) Author-email: [email protected] License: Apache 2.0 License Location: /usr/local/lib/python3.10/dist-packages Requires: filelock, huggingface-hub, numpy, packaging, pyyaml, regex, requests, safetensors, tokenizers, tqdm Required-by: clip-interrogator, image-reward, llamafactory, peft, SwissArmyTransformer, trl

@forgeyao
Copy link

forgeyao commented Feb 5, 2025

I also encountered this issue.
From the transformers' merge log, QWen2.5-VL has already been merged into the main branch but hasn't been released yet.
The version will be released in at most two weeks.

reference: huggingface/transformers#35569

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