Skip to content

dpo模型RuntimeError: CUDA driver error: invalid argument, #4104

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

Open
listwebit opened this issue May 7, 2025 · 0 comments
Open

dpo模型RuntimeError: CUDA driver error: invalid argument, #4104

listwebit opened this issue May 7, 2025 · 0 comments

Comments

@listwebit
Copy link

Describe the bug
What the bug is, and how to reproduce, better with screenshots(描述bug以及复现过程,最好有截图)
用llama factory 框架,在 12台 8卡 a100机器, 共96卡上面长度12k,可以正常训练qwen2.5 72b的dpo模型,但是用swift模型训练就直接报错:RuntimeError: CUDA driver error: invalid argument,

环境没有问题的,因为用小尺寸模型 qwen2.5 14b就能正常跑dpo模型,请问怎么解决呢。感觉像是显存不足导致的,

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(在这里补充其他信息)

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

1 participant