Hi everyone,
When compiling my python project (with pyinstaller) I run into the following error:
ImportError: DLL load failed: The specified module could not be found.

What’s interesting about this is that it only occurs when I change from torch==1.9.0+cu102 to torch==1.9.0+cu111 meaning this missing DLL problem is unique to changing from CUDA 10.2 to CUDA 11.1.
Please note that the project works fine if you run it directly with python, so this issue is to do with the correct DLL’s being detected when the app is compiled with pyinstaller.
Does anyone have any insight into what changes between these CUDA versions may be causing this issue?
Cheers