You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.
libtorch-static used to ship libtorch.a until 1.0.1 and has
regressed since forcing people to build from source.
This fixes the build commands and add BUILD_SHARED_LIBS=OFF
It also removes build it as a debug build, and turns off
USE_TENSORPIPE until pytorch/tensorpipe#449
is fixed.
Tested on my system to verify a libtorch.a is produced but can't
test the CI
libtorch-static used to ship libtorch.a until 1.0.1 and has
regressed since forcing people to build from source.
This fixes the build commands and add BUILD_SHARED_LIBS=OFF
It turns off USE_TENSORPIPE until
pytorch/tensorpipe#449 is fixed.
Tested on my system to verify a libtorch.a is produced but can't
test the CI
Building PyTorch as a static build fails in TensorPipe:
How to repro:
Checkout latest PyTorch codebase and build with
$ USE_MKLDNN=OFF USE_CUDA=OFF BUILD_SHARED_LIBS=OFF BUILD_TESTS=OFF EXTRA_CAFFE2_CMAKE_FLAGS="-DTORCH_STATIC=1" python3 setup.py build --cmake-only $ cmake --build build
It would error with:
but then there are further linking errors
The text was updated successfully, but these errors were encountered: