Solved by IvanKobzarev in post #3 
              
              
                Hello @mohit7 
We just exposed control on global number of threads used by pytorch android, it was landed in master 
method org.pytorch.Module#setNumThreads(int numThreads)

(https://github.com/pytorch/pytorch/blob/master/android/pytorch_android/src/main/java/org/pytorch/Module.java#L57) 
The latest…