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

多卡load模型OOM #296

Open
TonyUSTC opened this issue Aug 19, 2024 · 0 comments
Open

多卡load模型OOM #296

TonyUSTC opened this issue Aug 19, 2024 · 0 comments

Comments

@TonyUSTC
Copy link

遇到一个诡异的情况,qlora微调llama3-8b模型,单卡可以加载模型运行,多卡在load权重的时候就OOM了,use_unsloth设置为false,
观察显存占用,发现只有gpu0显存一直在涨,直到OOM.
image
image

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