Run local LLM inference with llama.cpp on Arm Zena CSS
Introduction
Set up the environment for LLM inference
Build llama.cpp in the Zena CSS guest
Prepare and verify a text model
Run CPU inference and inspect the result
Next Steps
Run local LLM inference with llama.cpp on Arm Zena CSS
Review frequently asked questions
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.
Run the environment checks to confirm the guest architecture. Use checks to inspect available memory and filesystem space, and identify missing build or transfer tools. Use a work directory on a filesystem with enough capacity.
Use Kitware CMake 3.28.6 commands to extract CMake under
/opt and link cmake under /usr/local/bin. Run cmake --version to confirm it is available.You need network access to clone the source from GitHub. Also, the full build downloads UI assets from Hugging Face during compilation.
Set
LP2_MODEL_DIR under LP2_WORK_DIR and check free space. Then, compare LP2_MODEL_FILE with the expected SHA-256 using sha256sum -c -. Continue only when the check reports OK.You run the same CPU command with two prompts. If each request generates text, you’ve confirmed functional text generation in the tested guest. The wording of responses can vary from the examples. These requests and responses don’t establish answer quality or provide a controlled performance comparison.