paddle inderence 有内存泄漏问题
Created by: wgh1989
直接使用官方paddle-inference-demo,出现内存泄漏问题 fluid_paddle版本号:官方下载 https://paddle-inference-lib.bj.bcebos.com/latest-gpu-cuda10-cudnn7-avx-mkl/fluid_inference.tgz GIT COMMIT ID: c9285a18 WITH_MKL: ON WITH_MKLDNN: ON WITH_GPU: ON CUDA version: 10.0 CUDNN version: v7.6 CXX compiler version: 4.8.2
环境信息: CUDA-10.0,CUDNN-7.6.5 CentOS-7.7.1908 python-3.6.7
预测信息:
官方下载:Paddle-Inference-Demo,c++,res50示例
https://github.com/PaddlePaddle/Paddle-Inference-Demo/tree/master/c%2B%2B/resnet50
存在内存泄漏:
使用valgrind工具查看
valgrind --tool=memcheck --leak-check=full --log-file=out.txt
./build/resnet50_test --model_file=models/ResNet50/model --params_file=models/ResNet50/params