#3186·CNTK

Need GPU support files (cu*.dll) when using CPU-Only Nuget?

Author: JohnCraigPublicCreated May 6, 2018Updated Jan 30, 2023

My model evaluator application is C++ using the NuGet package version 2.5 -- and works fine. I had installed the "GPU" variant of the NuGet package, and I found that I needed to deploy 5 or 6 DLLs (with names like cu*.dll) or else my executable would not start. But actually, I am not using GPU (that I know of) in my evaluation code -- my calls to the models specify CPU. So, I thought: I will instead build my application with the "CPU-Only" NuGet package, because this way, I won't have to export those cu*.dll files (which sum to 400MB in size!). So, I uninstalled the GPU Nuget, then installed the CPU-only NuGet, then re-built my application -- but -- I find that the exe still won't start unless I have those cu*.dll files present! So, where have I gone wrong? How do I track down something in my App that seems to need those files -- eventhough every model eval specifies "CPU"....?