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

关于推理 #2854

Open
CLGRY opened this issue Jan 3, 2025 · 1 comment
Open

关于推理 #2854

CLGRY opened this issue Jan 3, 2025 · 1 comment

Comments

@CLGRY
Copy link

CLGRY commented Jan 3, 2025

Describe the bug
What the bug is, and how to reproduce, better with screenshots(描述bug以及复现过程,最好有截图)
image
你好,我训练通义千问2-VL-7B-Instruct之后(batchsize为1)进行推理,在A800卡上(80G)进行推理,80G显存是够的,但是总是报以上错误,请问是为什么?卡是空的没有跑其他程序,我不理解怎么解决这个问题。

推理命令为
swift infer --ckpt_dir /home//Data/ms-swift/output/Qwen2-VL-7B-Instruct/v1-20250102-180445/checkpoint-3000 --val_dataset /home/sijinyu/Data/ms-swift/images/test.json --load_dataset_config true --merge_lora true

Your hardware and system info
Write your system info like CUDA version/system/GPU/torch version here(在这里给出硬件信息和系统信息,如CUDA版本,系统,GPU型号和torch版本等)

CUDA12.0
linux系统
GPU A800
torch 2.5.1+cu118

Additional context
Add any other context about the problem here(在这里补充其他信息)

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