-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Closed
Labels
module: windowsWindows support for PyTorchWindows support for PyTorch
Description
❓ Questions and Help
I builded libtorch from source?
set MSSdk=1
set FORCE_PY27_BUILD=1
set CMAKE_GENERATOR=Visual Studio 15 2017
set CMAKE_GENERATOR_TOOLSET_VERSION=14.11
set DISTUTILS_USE_SDK=1
for /f "usebackq tokens=*" %i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -version [15^,16^) -products * -latest -property installationPath`) do call "%i\VC\Auxiliary\Build\vcvarsall.bat" x64 -vcvars_ver=%CMAKE_GENERATOR_TOOLSET_VERSION%
python tools/build_libtorch.py
However, i can not find caffe2.lib in lib/ directory. Shouldn't caffe2.lib be produced? In prebuilded version, there is caffe2.lib.
Envs:
Windows10
Visual Studio 2017
Metadata
Metadata
Assignees
Labels
module: windowsWindows support for PyTorchWindows support for PyTorch