Explore related resources

Find more information about the topics in this Learning Path:

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
?
Do I need a GPU on my Linux host for this workflow?
No. You can export, quantize, and cross-compile on a Linux host without CUDA, ROCm, or a working Vulkan GPU.
How do I use the correct ExecuTorch source and Python setup?
Run git clone --branch release/1.4 --recursive https://github.com/pytorch/executorch.git and git submodule update --init --recursive. Create the environment with python3.12 -m venv .venv, activate it with source .venv/bin/activate, then install the pinned PyTorch version 2.13.0+cpu before continuing.
How large is the exported Vulkan .pte file?
The exported Vulkan .pte file is about 1.8 GB.
How do I verify the Android Vulkan build can find glslc?
Install the LunarG Vulkan SDK on the host and source its setup-env.sh script. Run which glslc and glslc --version to confirm that the compiler is available to the build.
Which performance metrics should I record on the phone?
Record model load time, prompt and decode throughput, total inference time, time to first token, RSS, and sampling time. The PyTorchObserver summary also reports prefill_token_per_sec and decode_token_per_sec.

Share

Tell others about this Learning Path.

Return to Mobile, Graphics, and Gaming