Give feedback

How would you rate this Learning Path?

Review frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
Which installation option should I choose for dependencies?
Use the Docker option if you have a working Docker daemon and prefer an isolated, reproducible environment. Choose the native Ubuntu option if you want to install dependencies directly on your x86_64 Linux host.
How do I confirm the Bazel build created the Android CPU inference binary?
List the Bazel output directory. You should see llm_inference_engine_cpu_main under bazel-bin/mediapipe/tasks/cc/genai/inference/c/.
Which Bazel options enable the i8mm path with KleidiAI for Android arm64?
Build the target mediapipe/tasks/cc/genai/inference/c:llm_inference_engine_cpu_main with --config=android_arm64 and --define=xnn_enable_arm_i8mm=true. These options select the Android arm64 build and enable the i8mm path integrated through XNNPACK.
Which options build `llm_test` with i8mm but without KleidiAI?
In the llm_test Bazel command, use --define=xnn_enable_arm_i8mm=true with --define=xnn_enable_kleidiai=false. Retain -c opt, --config=android_arm64, --dynamic_mode=off, and the mediapipe/tasks/cc/genai/inference/utils/xnn_utils:llm_test target.
What do the two `llm_test` benchmark runs compare?
Both builds enable i8mm. The first disables KleidiAI micro-kernels, while the second enables them by default, so you can compare the effect of KleidiAI on your device.

Share

Tell others about this Learning Path.

Return to Mobile, Graphics, and Gaming