Hi,
This is my first time posting so apologize if duplicate.
I am having an issue where my model is running much slower in windows than in linux. I believe this has to do with inclusion of MKLDNN when building. When I try to build in windows I am getting the following.
– Building version 1.4.0a0+7f73f1d
cmake -GNinja -DBUILD_PYTHON=True -DBUILD_TEST=True -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=C:\pytorch\torch -DCMAKE_PREFIX_PATH=C:\pytorch1.4\Lib\site-packages -DNUMPY_INCLUDE_DIR=C:\pytorch1.4\lib\site-packages\numpy\core\include -DPYTHON_EXECUTABLE=C:\pytorch1.4\python.exe -DPYTHON_INCLUDE_DIR=C:\pytorch1.4\include -DPYTHON_LIBRARY=C:\pytorch1.4/libs/python37.lib -DTORCH_BUILD_VERSION=1.4.0a0+7f73f1d -DUSE_NUMPY=True C:\pytorch
cmake --build . --target install --config Release – -j 48
Traceback (most recent call last):
File “setup.py”, line 755, in 
build_deps()
File “setup.py”, line 316, in build_deps
cmake=cmake)
File “C:\pytorch\tools\build_pytorch_libs.py”, line 62, in build_caffe2
cmake.build(my_env)
File “C:\pytorch\tools\setup_helpers\cmake.py”, line 335, in build
self.run(build_args, my_env)
File “C:\pytorch\tools\setup_helpers\cmake.py”, line 141, in run
check_call(command, cwd=self.build_dir, env=env)
File “C:\pytorch1.4\lib\subprocess.py”, line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘cmake’, ‘–build’, ‘.’, ‘–target’, ‘install’, ‘–config’, ‘Release’, ‘–’, ‘-j’, ‘48’]’ returned non-zero exit status 1.
(env_pytorch1.4)
Any suggestions on how to resolve this? Thanks for your help in advance.
-Nick