-
Notifications
You must be signed in to change notification settings - Fork 29
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
运行 test.py 显存爆了 #6
Comments
我把upcast to fp32 注释掉就好了,两个GPU各用了70GB内存。 有一点疑惑就是为什么这里inference需要这么多显存? HuggingFace 上的例子就用了15GB/GPU, 是因为这里处理的文本过长的原因吗? |
我是在8*A800上测试的。我对torch不了解,坦白说我也很困惑为啥它会消耗这么多显存... |
有复现的代码吗 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请问苏神的GPU配置是什么? 我两个A100 80G 直接运行python test.py 显存爆了, 也没找出原因
The text was updated successfully, but these errors were encountered: