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
No description provided.
The text was updated successfully, but these errors were encountered:
torch 的显存最好手动释放吧
Sorry, something went wrong.
我用线程跑的训练,训练结束后内存和显存都没有释放,在网上也查了下用cudaDeviceReset()可以释放,但是调用过再次训练就没法加载模型了,像torch.cuda.empty_cache()这样的函数,libtroch里也没有,作者有什么好办法吗?
用进程吧,torch 的显存不容易释放干净
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: