【黄埔学院】 dev分支动态库(显示) (with CUDA & without TRT) Demo 异常退出
Created by: ShawnXsw
1)PaddlePaddle版本:dev(9a6a4fbc) 2)CPU:with MKL,正常。 3)GPU:2080TI,CUDA Version 10.1.243,CUDNN 7.6.5 4)OS: Windows 10、Python version: 3.7.7 Nvidia driver version: 445.87
-
预测信息 GIT COMMIT ID: 9a6a4fbc WITH_MKL: ON WITH_MKLDNN: ON WITH_GPU: ON CUDA version: 10.1 CUDNN version: v7.6 CXX compiler version: 19.0.24215.1 CUDA_USE_STATIC_CUDA_RUNTIME=OFF
-
生成:\fluid_inference_install_dir\paddle\lib\paddle_fluid.lib -102KB \fluid_inference_install_dir\paddle\lib\paddle_fluid.dll -989554KB
-
预测库来源:Demo_CI
cmake .. -G "Visual Studio 14 2015 Win64" -T host=x64 -DWITH_GPU=ON ^
-DWITH_MKL=%use_mkl% -DWITH_STATIC_LIB=**OFF** -DCMAKE_BUILD_TYPE=Release -DDEMO_NAME=%demo_name% -DPADDLE_LIB="%paddle_infernece_lib%" -DMSVC_STATIC_CRT=ON -DCUDA_LIB="%cuda_lib_dir%"
如上图cuda stream init 开始后,会卡滞数十秒,期间显存由200MB增加至527MB,而后突然退出,显存释放回200MB