I want to compile my pytorch c++ Frontend code locally in my x86_64 Ubuntu but using a g++ arm compiler. Using the so file which I get after compilation to use in Android applications. Now, I am unable to use the compiled file as LibTorch file is compiled in x86_64. Is there a way to download LibTorch file for arm processor.
And the only way I can build that is building LibTorch source file from arm server. Is there any other way I can do that
But, this means that I have to put the libtorch.so file in my android which would be unnecessary. It takes huge space, {read from the discussion forum}. I want to build a complete so file locally and to place that in the android, rather than writing code in android and building from there.
I am pretty beginner in this, could you please help me to figure out the best way to do that ?