Yeah I used the Android profiler i.e. Perfetto for tracing the CPU utilization. My device is a Pixel6 with 8 cores. I use the Java API and because I couldn’t find an appropriate call for setting the number of CPU’s there, I have manually edited the torchscript code to call the set_num_threads(4) or set_num_threads(8).
What is the “official” way to influence the number of threads used for inference ? I mean from POV of the Java development ?