Introduction
AFM-4.5B deployment on Google Cloud Axion with Llama.cpp
Provision a Google Cloud Axion Arm64 environment
Configure your Google Cloud Axion Arm64 environment
Build Llama.cpp on Google Cloud Axion Arm64
Install Python dependencies for Llama.cpp
Download and optimize the AFM-4.5B model for Llama.cpp
Run inference with AFM-4.5B using Llama.cpp
Benchmark and evaluate AFM-4.5B quantized models on Axion
Review your AFM-4.5B deployment on Axion
Next Steps
| Skill level: | Introductory |
| Reading time: | 30 min |
| Last updated: | 26 Jun 2026 |
| Skill level: |
| Introductory |
| Reading time: |
| 30 min |
| Last updated: |
| 26 Jun 2026 |
This Learning Path is for developers and ML engineers who want to deploy Arcee's AFM-4.5B small language model on Google Cloud Axion instances using Llama.cpp.
Upon completion of this Learning Path, you will be able to:
Before starting, you will need the following:
c4a-standard-16 or larger) instancesThis 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.
llama.cpp. First, you’ll provision an Axion-based VM, prepare the system and Python environment, and build llama.cpp from source. Then, you’ll download and quantize the model, and run inference. You’ll make concrete choices about instance size and storage, manage packages in an isolated environment, and use the upstream llama.cpp repository that includes the required AFM support. By the end, you’ll perform a perplexity run to assess model quality. A successful outcome includes a clean build, a loadable quantized model, token generation during a test prompt, and a reported perplexity value.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.
c4a-standard-16 or larger, as specified. Smaller types are not listed for this workflow.ggerganov/llama.cpp. Arcee AI has contributed the required modeling code upstream, so you don’t need a custom fork.llama.cpp can load. A brief prompt should generate tokens without errors, and a perplexity run should complete with a numeric value.