Open wang002 opened 3 years ago
How did you build the dll? Which dll are you comparing with?
https://github.com/sitting-duck/stuff/tree/master/ai/tensorflow/build_tensorflow_1.14_source_for_Windows
Follow this link to build c++ api , tensorflow_cc.dll .lib and include , but only for your own code.
This file I built is just for running the pb graph.
It seems that the file sizes are similar. Did I misunderstand something?
When unzip the file, tensorflow_cc.dll is about 600MB , I added sm61,sm75,sm86 . If don't add,the file is about 400MB .
If you unzip tensorflow-1.15.4+nv-cp38-cp38-win_amd64.whl
, tensorflow_core\python\_pywrap_tensorflow_internal.pyd
is 400 MB.
It is the same.
We tested using tensorflow_cc dll, just inference model, here is the link if needed
https://github.com/Fannhhyy/tensorflow1.15-whl-and-cpp-api-for-win-and-rtx3090
I built a dll, it is very big, about 600M.I found that the dll you built is very small.