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
怎么主动释放已经加载的模型 #2393
Comments
我尝试使用智能指针, 但是类析构了, 占用的内存/显存没有释放 (jetson, trt 后端)
大佬们帮忙看看 @jiangjiajun @rainyfly |
今天也是等待回复的一天... |
1 similar comment
今天也是等待回复的一天... |
https://github.com/PaddlePaddle/FastDeploy/blob/develop/fastdeploy/runtime/backends/tensorrt/trt_backend.cc 把这个里面context_、engine_ destroy()掉试试 |
在
在
在
实测均无法释放显存 是不是我的修改不正确? 还有其它可能有用的建议吗? @rainyfly |
等待回复... |
...... |
问一个小白问题, 为什么所有模型都只有加载的接口, 没有释放的接口.
如果有释放的接口的话请说一下在哪里, 谢谢
The text was updated successfully, but these errors were encountered: