You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
本地推理时报错 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
The text was updated successfully, but these errors were encountered:
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.
本地推理时报错
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
The text was updated successfully, but these errors were encountered: