We have prebuilt libraries for Android and iOS.  The iOS tutorial uses the C++ API: https://pytorch.org/mobile/ios/ 8 .  We will probably support the C++ API on Android eventually, but for now the easiest path is to use the Java API.