We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
您好,我运行你的代码,报如下错误,请问怎么解决,第一次用pytorch RuntimeError: cuda runtime error (10) : invalid device ordinal at torch/csrc/cuda/Module.cpp:88
The text was updated successfully, but these errors were encountered:
@ydx00 大概你配的是非gpu版的pytorch 你有两个选择:1.将代码的use_cuda设置成False 2.配置一个gpu版的pytorch
Sorry, something went wrong.
No branches or pull requests
您好,我运行你的代码,报如下错误,请问怎么解决,第一次用pytorch
RuntimeError: cuda runtime error (10) : invalid device ordinal at torch/csrc/cuda/Module.cpp:88
The text was updated successfully, but these errors were encountered: