Paddle
Paddle copied to clipboard
训练中多次调用fluid.io.load_inference_model进行预测,内存一直增长
模型是lstm+crf,emb词表大小100多万,每轮都会调用fluid.io.load_inference_model,内存在不断增大,500轮的时候已经增长到几十g了。
可以贴下相关的代码吗,最好是 forloop,直接load 的,不确定那样是否能复现
Since you haven't replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。
是不是每次都创建新的 scope 了?看看这篇文章有帮助不? https://aistudio.baidu.com/aistudio/projectdetail/641295