Replies: 3 comments 1 reply
-
Update. I figured out that the script was looking for python3.exe whereas my python 3 is just called python.exe so I copied it to python3.exe. Rebuilding, fingers crossed. So, now I am gtting this... ` 24> File "D:\libraries\incubator-mxnet\cpp-package\scripts\OpWrapperGenerator.py", line 434, in 24> raise(e) 24> File "D:\libraries\incubator-mxnet\cpp-package\scripts\OpWrapperGenerator.py", line 428, in 24> f.write(patternStr % ParseAllOps()) 24> File "D:\libraries\incubator-mxnet\cpp-package\scripts\OpWrapperGenerator.py", line 323, in ParseAllOps 24> cdll.libmxnet = cdll.LoadLibrary(sys.argv[1]) 24> File "C:\Users\jpkessel\AppData\Local\Programs\Python\Python39\lib\ctypes_init_.py", line 452, in LoadLibrary 24> return self._dlltype(name) 24> File "C:\Users\jpkessel\AppData\Local\Programs\Python\Python39\lib\ctypes_init_.py", line 374, in init 24> self._handle = _dlopen(self._name, mode) 24>FileNotFoundError: Could not find module 'D:\libraries\incubator-mxnet\build\Release\libmxnet.dll' (or one of its dependencies). Try using the full path with constru |
Beta Was this translation helpful? Give feedback.
-
OpWrapperGenerator.py needs load libmxnet.dll. It will need all the dependencies either under the same folder or under the environment path. I manually build 1.9.1 with MKL BLAS using VS2019 recently. The steps and dependencies I've figured out can be found at https://medium.com/@relaxli/build-mxnet-1-9-1-with-cuda-11-7-and-mkl-blas-using-visual-studio-2019-on-windows-10-a9ebecb1941b |
Beta Was this translation helpful? Give feedback.
-
Thanks. In the end I went a different route for this project, but I
might come back to mxnet at some point
…On Wed, Aug 31, 2022 at 7:50 PM relaxli00 ***@***.***> wrote:
OpWrapperGenerator.py needs load libmxnet.dll. It will need all the
dependencies either under the same folder or under the environment path.
I manually build 1.9.1 with MKL BLAS using VS2019 recently. The steps and
dependencies I've figured out can be found at
***@***.***/build-mxnet-1-9-1-with-cuda-11-7-and-mkl-blas-using-visual-studio-2019-on-windows-10-a9ebecb1941b
—
Reply to this email directly, view it on GitHub
<#21131 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA64NZKXDKQJN7ZTCTTFH2TV37VULANCNFSM57QD6WIA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
--
It's always darkest just before you are eaten by a grue.
|
Beta Was this translation helpful? Give feedback.
-
The front page says Releases has a pre-built package for windows but all I see there are src packages. Is there still a pre-built package for Windows?
If not, are there proven instructions for building on Windows with VS2022? I have gotten CMAKE to run without errors but building with VS errors out with
an inability to find mxnet-cpp/op.h
Using msbuild I get a long list of link errors:
msbuild -property:USE_CPP_PACKAGE=1 /m:1 ALL_BUILD.vcxproj
I’ve been workign on this for the better part of a week with no success 😦
Link errors below:
` Creating library D:/libraries/incubator-mxnet/build/Debug/mxnet_86.lib and object D:/libraries/incubator-mxnet/bui
ld/Debug/mxnet_86.exp
crop.cc.obj : error LNK2019: unresolved external symbol "void __cdecl mxnet::op::image::ResizeImplCUDA<class mshadow::b
float::bf16_t,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>,float>(struct mshadow::Stream
*,struct mshadow::Tensor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>,struct mshadow::Ten
sor<struct mshadow::gpu,3,class mshadow::bfloat::bf16_t>)" (??$ResizeImplCUDA@Vbf16_t@bfloat@mshadow@@U?$Tensor@Ugpu@ms
hadow@@$02Vbf16_t@bfloat@2@@3@M@image@op@mxnet@@YAXPEAU?$Stream@Ugpu@mshadow@@@mshadow@@U?$Tensor@Ugpu@mshadow@@$02Vbf1
6_t@bfloat@2@@4@1@Z) referenced in function "void __cdecl mxnet::op::image::ResizeImplWrapper(stru
ct mxnet::op::image::ResizeParam const &,struct mxnet::OpContext const &,class std::vector<class mxnet::TBlob,class std
::allocator > const &,class std::vector<class mxnet::TBlob,class std::allocator
Beta Was this translation helpful? Give feedback.
All reactions