I’d recommend to follow guidance GitHub - pytorch/pytorch: Tensors and Dynamic neural networks in Python with strong GPU acceleration 6 to make sure we get all needed dependency.
Also is it the first time to build for android?