-
Notifications
You must be signed in to change notification settings - Fork 57
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 #61
Labels
Comments
模型设置时不带device参数,或者直接设置为None,训练时都报上述同样的错 |
您好,需要设置device="cpu",设置为None时会去检测环境自动选择 |
casrel的代码吗,这部分确实存在这个问题,为了速度,所以设置了torch.cuda.Stream |
对,是的,那目前我没有显卡的情况下,还能用这块的函数吗,还是必须要换掉? |
PRGC没用到这部分代码应该是可以,casrel后续我们会对该问题进行优化 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
没有安装cuda,如何调用cpu训练,现在报如下错误:
AssertionError: Torch not compiled with CUDA enabled
The text was updated successfully, but these errors were encountered: