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
关于cuda版本的问题 #21
Comments
能用pytorch 1.7.1吗,1.8有问题,1.9我会试试 |
1.8之前我测过确实有问题,pytorch官方有很多类似的issue, 我用1.9跑了下是没问题的,不过我没有A系列的显卡 |
您用torch1.9跑没问题的cuda是cuda11吗? |
cuda 11.1也可以的 |
我尝试了cuda11.1+torch1.9的配置,会报错malloc(): invalid size (unsorted) |
或者报malloc(): memory corruption |
|
应该是内存不够,我开始也碰到了这个问题,把batch_size改小或者加大内存 |
您好,请问我使用cuda11以上的版本可以训练吗,因为我只有A6000和A100的显卡,它们不兼容cuda11以下的版本。我用cuda11.1和torch1.8或者1.9训练时,都会报double free or corruption (!prev)、RuntimeError: DataLoader worker (pid(s) xxxxx) exited unexpectedly。
The text was updated successfully, but these errors were encountered: