microsoft / CNTK

Microsoft Cognitive Toolkit (CNTK), an open source deep-learning toolkit
https://docs.microsoft.com/cognitive-toolkit/
Other
17.53k stars 4.28k forks source link

Python hang out when DLL is not found without leaving a message #3001

Open igormq opened 6 years ago

igormq commented 6 years ago

CNTK has removed 3rd party libs from wheel packages, making mandatory the CNTK users to download it (like mkl and cuda) and set the correct environment variables. Distracted users, like me, do not install these DLL dependencies and try to execute CNTK anyway. The

CNTK's python binding instead of displaying some warning or raising some exception just dies without any explanation.

Wouldn't be better display some message saying that some DLL dependencies were not found than just hanging out?

ke1337 commented 6 years ago

The problem seems to be related to nvml missing from path. Please attach a debugger to python process before the crash, and check if cuda/nvml dlls are loaded when crashes.