-
Notifications
You must be signed in to change notification settings - Fork 298
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
RuntimeError: probability tensor contains either inf
, nan
or element < 0
#56
Comments
我是可以正常用原始模型,但是8bit量化报和你一样的错,https://github.com/baichuan-inc/Baichuan2/issues/48#issue-1885592066。 |
遇到了同样的问题,有解决方案了吗 |
@pagyyuan @ywancit @bihui9968 |
@ChiQiuHong 我将device_map由"auto"改为"cpu"后会报新的错误:ValueError: If passing a string for |
我将报错的地方打印出来:有一个tensor是这样的:tensor([[nan, nan, nan, ..., nan, nan, nan]], device='cuda:0', |
请问解决了吗 |
#291 可以看下这个能不能解你的问题 |
部署baichuan-13B-chat模型报错
The text was updated successfully, but these errors were encountered: