microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.32k stars 6.44k forks source link

[libtorch] Build error #35202

Open WangHHY19931001 opened 1 year ago

WangHHY19931001 commented 1 year ago

Copy issue body from C:/vcpkg/installed/vcpkg/issue_body.md Package: libtorch[core,leveldb,tbb,xnnpack,zstd]:x64-windows -> 1.12.1#3

Host Environment

To Reproduce

vcpkg install libtorch[tbb,xnnpack,zstd,leveldb]:x64-windows Failure logs

-- Downloading https://github.com/pytorch/pytorch/archive/v1.12.1.tar.gz -> pytorch-pytorch-v1.12.1.tar.gz...
-- Extracting source C:/vcpkg/downloads/pytorch-pytorch-v1.12.1.tar.gz
-- Applying patch pytorch-pr-85958.patch
-- Applying patch fix-cmake.patch
-- Applying patch fix-fbgemm-include.patch
-- Applying patch fix-c10-glog.patch
-- Applying patch use-flatbuffers2.patch
-- Applying patch fix-windows.patch
-- Applying patch fix_werror.patch
-- Using source at C:/vcpkg/buildtrees/libtorch/src/v1.12.1-e1cb316ec6.clean
-- Using flatc: C:/vcpkg/installed/x64-windows/tools/flatbuffers/flatc.exe
-- Using protoc: C:/vcpkg/installed/x64-windows/tools/protobuf/protoc.exe
-- Downloading https://github.com/pypa/get-pip/archive/38e54e5de07c66e875c11a1ebbdb938854625dd8.tar.gz -> pypa-get-pip-38e54e5de07c66e875c11a1ebbdb938854625dd8.tar.gz...
-- Extracting source C:/vcpkg/downloads/pypa-get-pip-38e54e5de07c66e875c11a1ebbdb938854625dd8.tar.gz
-- Using source at C:/vcpkg/buildtrees/libtorch/src/8854625dd8-861bd167bd.clean
-- Setting up python virtual environmnent...
-- Installing python packages: typing-extensions;pyyaml;numpy
-- Setting up python virtual environmnent...finished.
-- Using Python3: C:/vcpkg/buildtrees/libtorch/x64-windows-venv/Scripts/python.exe
-- Found external ninja('1.11.0').
-- Configuring x64-windows-dbg
-- Configuring x64-windows-rel
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target torch_cpu -- -v -j33
    Working Directory: C:/vcpkg/buildtrees/libtorch/x64-windows-dbg
    See logs for more information:
      C:\vcpkg\buildtrees\libtorch\build-torch_cpu-x64-windows-dbg-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  ports/libtorch/portfile.cmake:158 (vcpkg_cmake_build)
  scripts/ports.cmake:170 (include)
C:\vcpkg\buildtrees\libtorch\build-torch_cpu-x64-windows-dbg-out.log ``` Change Dir: 'C:/vcpkg/buildtrees/libtorch/x64-windows-dbg' Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v -v -j33 torch_cpu [1/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DC10_BUILD_MAIN_LIB -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DNOMINMAX -DONNX_ML=1 -DSUPPORTS_BACKTRACE=0 -DUSE_PTHREADPOOL -Dc10_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Zc:__cplusplus /showIncludes /Foc10\CMakeFiles\c10.dir\core\AutogradState.cpp.obj /Fdc10\CMakeFiles\c10.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\core\AutogradState.cpp [2/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DC10_BUILD_MAIN_LIB -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DNOMINMAX -DONNX_ML=1 -DSUPPORTS_BACKTRACE=0 -DUSE_PTHREADPOOL -Dc10_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Zc:__cplusplus /showIncludes /Foc10\CMakeFiles\c10.dir\core\GradMode.cpp.obj /Fdc10\CMakeFiles\c10.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\core\GradMode.cpp [3/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DC10_BUILD_MAIN_LIB -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DNOMINMAX -DONNX_ML=1 -DSUPPORTS_BACKTRACE=0 -DUSE_PTHREADPOOL -Dc10_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Zc:__cplusplus /showIncludes /Foc10\CMakeFiles\c10.dir\core\Device.cpp.obj /Fdc10\CMakeFiles\c10.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\core\Device.cpp ... Skipped 465 lines ... [453/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /fp:strict /DCPU_CAPABILITY=DEFAULT /DCPU_CAPABILITY_DEFAULT /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\native\cpu\UnfoldBackwardKernel.cpp.DEFAULT.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src\ATen\native\cpu\UnfoldBackwardKernel.cpp.DEFAULT.cpp [454/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\RegisterFunctionalization_3.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src\ATen\RegisterFunctionalization_3.cpp [455/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /fp:strict /DCPU_CAPABILITY=DEFAULT /DCPU_CAPABILITY_DEFAULT /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\native\cpu\ReduceOpsKernel.cpp.DEFAULT.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src\ATen\native\cpu\ReduceOpsKernel.cpp.DEFAULT.cpp FAILED: caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.DEFAULT.cpp.obj C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /fp:strict /DCPU_CAPABILITY=DEFAULT /DCPU_CAPABILITY_DEFAULT /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\native\cpu\ReduceOpsKernel.cpp.DEFAULT.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src\ATen\native\cpu\ReduceOpsKernel.cpp.DEFAULT.cpp C:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen/cpu/vec/vec_base.h(134): fatal error C1001: Internal compiler error. (compiler file 'D:\a\_work\1\s\src\vctools\Compiler\CxxFE\sl\p1\c\toinil.c', line 910) To work around this problem, try simplifying or changing the program near the locations listed above. If possible please provide a repro here: https://developercommunity.visualstudio.com Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information [456/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /fp:strict /DCPU_CAPABILITY=DEFAULT /DCPU_CAPABILITY_DEFAULT /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\native\cpu\SortingKernel.cpp.DEFAULT.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src\ATen\native\cpu\SortingKernel.cpp.DEFAULT.cpp [457/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\RegisterFunctionalization_1.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src\ATen\RegisterFunctionalization_1.cpp [458/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /fp:strict /DCPU_CAPABILITY=DEFAULT /DCPU_CAPABILITY_DEFAULT /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\native\cpu\SoftMaxKernel.cpp.DEFAULT.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src\ATen\native\cpu\SoftMaxKernel.cpp.DEFAULT.cpp [459/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\quantized\Quantizer.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\quantized\Quantizer.cpp [460/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\nnapi\nnapi_register.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\nnapi\nnapi_register.cpp [461/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\nnapi\nnapi_bind.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\nnapi\nnapi_bind.cpp [462/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /fp:strict /DCPU_CAPABILITY=DEFAULT /DCPU_CAPABILITY_DEFAULT /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\native\cpu\ReduceAllOpsKernel.cpp.DEFAULT.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src\ATen\native\cpu\ReduceAllOpsKernel.cpp.DEFAULT.cpp [463/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /fp:strict /DCPU_CAPABILITY=DEFAULT /DCPU_CAPABILITY_DEFAULT /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\native\cpu\ScatterGatherKernel.cpp.DEFAULT.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src\ATen\native\cpu\ScatterGatherKernel.cpp.DEFAULT.cpp [464/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /fp:strict /DCPU_CAPABILITY=DEFAULT /DCPU_CAPABILITY_DEFAULT /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\native\cpu\WeightNormKernel.cpp.DEFAULT.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src\ATen\native\cpu\WeightNormKernel.cpp.DEFAULT.cpp [465/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\RegisterCompositeImplicitAutograd.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src\ATen\RegisterCompositeImplicitAutograd.cpp [466/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\RegisterMeta.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src\ATen\RegisterMeta.cpp [467/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /fp:strict /DCPU_CAPABILITY=DEFAULT /DCPU_CAPABILITY_DEFAULT /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\native\quantized\cpu\kernels\QuantizedOpKernels.cpp.DEFAULT.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src\ATen\native\quantized\cpu\kernels\QuantizedOpKernels.cpp.DEFAULT.cpp [468/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\RegisterCompositeExplicitAutograd.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src\ATen\RegisterCompositeExplicitAutograd.cpp [469/1053] C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe /TP -DAT_PER_OPERATOR_HEADERS -DCAFFE2_BUILD_MAIN_LIB -DCPUINFO_SUPPORTED_PLATFORM=1 -DFMT_HEADER_ONLY=1 -DGFLAGS_IS_A_DLL=1 -DGLOG_NO_ABBREVIATED_SEVERITIES -DONNX_BUILD_MAIN_LIB -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTBB_USE_DEBUG -DUSE_PTHREADPOOL -Dtorch_cpu_EXPORTS -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\api\include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src\TH -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\aten\src -IC:\vcpkg\buildtrees\libtorch\x64-windows-dbg\caffe2\..\aten\src -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\third_party\miniz-2.0.8 -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\torch\csrc\distributed -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\..\third_party\catch\single_include -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\aten\src\ATen\.. -IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\c10\.. -external:IC:\vcpkg\installed\x64-windows\include -external:IC:\vcpkg\installed\x64-windows\include\eigen3 -external:IC:\vcpkg\buildtrees\libtorch\src\v1.12.1-e1cb316ec6.clean\caffe2 -external:IC:\vcpkg\installed\x64-windows\include\gemmlowp -external:W0 /nologo /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /w /bigobj -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /w /bigobj -std:c++14 /Z7 /EHsc /DNOMINMAX /wd4267 /wd4251 /wd4522 /wd4838 /wd4305 /wd4244 /wd4190 /wd4101 /wd4996 /wd4275 /bigobj /Zc:__cplusplus /showIncludes /Focaffe2\CMakeFiles\torch_cpu.dir\__\aten\src\ATen\RegisterCPU.cpp.obj /Fdcaffe2\CMakeFiles\torch_cpu.dir\ /FS -c C:\vcpkg\buildtrees\libtorch\x64-windows-dbg\aten\src\ATen\RegisterCPU.cpp ninja: build stopped: subcommand failed. ```
Neumann-A commented 1 year ago

ICE nothing vcpkg can do. You could try a newer version via an overlay from here https://github.com/Neumann-A/my-vcpkg-ports/tree/master/libtorch

FrankXie05 commented 1 year ago

@WangHHY19931001

If possible please provide a repro here: https://developercommunity.visualstudio.com

You can reprot a feedback to visualstudio. https://developercommunity.visualstudio.com

PhoebeHui commented 1 year ago

Yes, this is a known compiler bug and have internal bug to track, but it would be great if you can open an issue to https://developercommunity.visualstudio.com/.

patrikhuber commented 11 months ago

I've hit the same problem - it currently does not seem possible to build libtorch on vcpkg (x64-windows), because the libtorch-cpu build fails with an ICE. I've opened an issue here: https://developercommunity.visualstudio.com/t/Internal-compiler-error-when-compiling-l/10539393. Maybe you all could upvote the issue?

Meanwhile I'll resort to building a newer version myself outside of vcpkg, shame that this didn't work.

patrikhuber commented 11 months ago

It's also easily reproducible with vcpkg install libtorch in a clean environment, using the latest VS and VC compiler (The CXX compiler identification is MSVC 19.38.33130.0). So I think the requires:repro label can be removed? I wonder why MS's CI doesn't catch it, perhaps they're using an older VC build tools version that might still work?

github-actions[bot] commented 10 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

timmeh87 commented 8 months ago

I have a temporary solution. It is possible to download a previous versions of the "build tools" for visual studio from here. https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-history

however you cannot get a previous version of "community". So, go ahead and install the build tools for visual studio 17.6.

It will install a folder like "Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC" at your chosen location. Now go find your VS2022 build tools installation, which for me is at "Microsoft Visual Studio\2022\Community\VC\Tools\MSVC"

The latest version of 2022 will have a folder like "14.39.33519", and the older build tools will have a folder like "14.36.32532"

So, first rename "14.39.33519" under the community edition to something like "backup - 14.39.33519". Then, copy the folder from BuildTools that is like "14.36.32532" and rename it to whatever the folder under Community was called.

This brain transplant should get you through the libtorch vcpkg build. I have no idea what side effects this might cause and if someone smarter than me can explain how to just set the environment variables please let us know. I tried changing the existing environment variable "VCToolsVersion" but that only applied to builds done from inside visual studio, it didnt seem to affect VCPKG

WangHHY19931001 commented 8 months ago

@timmeh87 no use, see : https://github.com/microsoft/vcpkg/issues/37202#issuecomment-1991119381

timmeh87 commented 8 months ago

Im talking about solving the ICE where cl.exe crashes while compiling libtorch, it is still not resolved as of version 17.9.3 of vs2022. #37202 appears to be an issue with python libraries, so not related. The ICE issue shows up in build logs with the error "internal compiler error"

I should note im using the older libtorch version 1 port, my code does noy support libtorch version 2 but I got the ICE for both versions in previous testing

patrikhuber commented 8 months ago

This PR in the pytorch repo fixes the ICE: https://github.com/pytorch/pytorch/pull/117497. It got merged on 18 Jan. Unfortunately it doesn't look like it got into 2.2.1 https://github.com/pytorch/pytorch/issues/119295. I've now added it here https://github.com/pytorch/pytorch/issues/120999 so let's hope they'll cherry-pick this fix for 2.2.2... If this hopefully happens, the vcpkg libtorch build version could be updated and then things should work again.

patrikhuber commented 8 months ago

It looks like the fix got picked for v2.2.2! https://github.com/pytorch/pytorch/issues/120999#issuecomment-2002008366

patrikhuber commented 8 months ago

@FrankXie05 Can we "un-stale" this issue? Also the requires:repro label is incorrect, this reproduces easily and has been reproduced by many. We need to get a libtorch v2.2.2 build in vcpkg.

github-actions[bot] commented 2 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

patrikhuber commented 1 month ago

Still an issue, libtorch in vcpkg is still at a very old version (2.1.2) which causes msvc ICE.