install-PyTorch-on-Android icon indicating copy to clipboard operation
install-PyTorch-on-Android copied to clipboard

How to install PyTorch on Android smartphone (without CUDA)

Results 2 install-PyTorch-on-Android issues
Sort by recently updated
recently updated
newest added

[ 51%] Building CXX object caffe2/CMakeFiles/torch.dir/operators/batch_bucketize_op.cc.o /root/pytorch/caffe2/onnx/backend.cc:11:10: fatal error: onnx/optimizer/optimize.h: No such file or directory 11 | #include "onnx/optimizer/optimize.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [caffe2/CMakeFiles/torch.dir/build.make:4743: caffe2/CMakeFiles/torch.dir/onnx/backend.cc.o] Error 1 gmake[2]:...

Hi, I'm trying to build pytorch v1.4.1 however the build process crashes with the following: `[ 51%] Building CXX object caffe2/CMakeFiles/torch.dir/opt/onnxifi_op.cc.o In file included from /root/pytorch/c10/core/CPUAllocator.h:7, from /root/pytorch/caffe2/core/allocator.h:3, from /root/pytorch/caffe2/core/context.h:9,...