I tried to use a C++ DLL that calls a python module in my C++ frontend which uses torchlib and upon trying to import the mentioned module, it produces this error :
The procedure entry point mkldnn_stream_destroy could not be located in
the dynamic link library ..\torch\lib\caffe_2_detectron_ops.dll
The issue doesnt exist, when I call the dll in a standalone project (that does not use torchlib).
what is the problem here?
@peterjc123 Can you kindly give me a hand in this?
I’m really confused about the casue of this error and how to solve it
OK. it seems it was caused becasue of a mistmatched versions between the installed torch (1.5.1) and using the latest libtorch (nightly build).
I had previously reverted back to 1.5.1 and forgot that the libtorch was from the latest nightly build. so this was casued.
removing and reinstalling both of them got rid of this issue (