-
Notifications
You must be signed in to change notification settings - Fork 433
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-vl-7b, vllm模式失败,到底应该用什么版本? #2890
Comments
根據facebookresearch/how-to-autorl#18 ,你可能需要更新你的Python版本 |
使用python3.10或者降低vllm的版本 |
@Jintao-Huang @DarkLight1337 谢谢你们,但是还遇到另外一个问题,当我使用truncation_strategy='right'时,vllm推理会报错. 通过监控gpu memory,发现gpu显存可能会炸,但是我设置的batch_size=1,并且max_length=200依然是这样,想问一下原因
ouput:
|
Describe the bug
What the bug is, and how to reproduce, better with screenshots(描述bug以及复现过程,最好有截图)
scripts:
76GiB
CUDA_VISIBLE_DEVICES=0,1,2,3
MAX_PIXELS=401408
swift infer
--model /home/data/gouqi/ms-swift/swift-qwen2vl-7b/v4-20250108-174040/checkpoint-2382
--max_batch_size 64
--infer_backend vllm
--val_dataset '/home/data/gouqi/ms-swift/swift/llm/dataset/data/4k_bad_test_new.json'
--template qwen2_vl
--max_length 2048
--stream true
--temperature 0
--top_k 1
--max_new_tokens 300
error:
Your hardware and system info
Write your system info like CUDA version/system/GPU/torch version here(在这里给出硬件信息和系统信息,如CUDA版本,系统,GPU型号和torch版本等)
Additional context
Add any other context about the problem here(在这里补充其他信息)
试了vllm几个版本(0.6.0,0.6.6)都不行,没有看到应该用哪个版本,还有vllm 推理和 default推理模式 都不能batch 推理吗?
The text was updated successfully, but these errors were encountered: