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
Who is this for?
AI and application developers who can access a Zena CSS virtual platform in Siemens Innexis Architecture Native Acceleration (ANA).
What will you learn?
After completing this Learning Path, you'll be able to perform the following tasks:
- Check that the Zena CSS Linux guest has the tools and storage that are needed for a CPU AI workload.
- Build and identify a fixed llama.cpp revision in the guest.
- Verify the identity of one GGUF text model before using it.
- Run two controlled inference requests and compare their results.
Prerequisites
Before starting, you'll need the following prerequisites:
- Access to a running Arm Zena CSS virtual platform
- Access to the Edge Workload Abstraction and Orchestration Layer (EWAOL) Linux guest of the virtual platform in Siemens Innexis ANA
- A C or C++ compiler, Make, Git, and a SHA-256 utility
- A working guest console or authorized SSH connection, plus a way to transfer files to and from the guest
- Outbound HTTPS access from the guest to GitHub and Hugging Face for the download and build workflow
- Permission to obtain the selected llama.cpp source and text model
- Basic Linux command-line knowledge
- Completion of Create an Arm Zena CSS virtual platform on Siemens Innexis ANA
Summary
This summary was 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.
You’ll build llama.cpp in a Zena CSS Linux guest, verify a GGUF model, and run CPU text inference. First, you’ll check guest tools and storage, and prepare a work directory. You’ll then make CMake available, build llama.cpp, and verify the checksum of the model file. Finally, you’ll run two prompts with the same model and settings, then compare the generated responses.