Train and benchmark AI workloads with DeepSpeed on Google Cloud C4A Axion VMs
Introduction
Understand DeepSpeed and Google Axion C4A for AI training
Create a Google Axion C4A virtual machine for DeepSpeed
Set up PyTorch and DeepSpeed on a Google Axion C4A virtual machine
Train and benchmark AI workloads on an Arm-based Google Axion virtual machine
Next Steps
Train and benchmark AI workloads with DeepSpeed on Google Cloud C4A Axion VMs
Who is this for?
This is an introductory topic for DevOps engineers, ML engineers, and software developers who want to run AI training and benchmarking workloads using PyTorch and DeepSpeed on SUSE Linux Enterprise Server (SLES) Arm64, validate CPU-based neural network execution, and benchmark AI performance on Arm processors.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Install and configure PyTorch and DeepSpeed on Arm-based Google Cloud C4A Axion virtual machines (VMs).
- Create and execute neural network training workloads using PyTorch.
- Benchmark CPU-based AI workloads on Arm64 processors.
- Validate scalable AI execution and workload performance on Google Axion Arm VMs.
Prerequisites
Before starting, you will need the following:
- A Google Cloud Platform (GCP) account with billing enabled
- Basic familiarity with Python and machine learning concepts
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.
aarch64 architecture and Neoverse-V2 cores with uname and lscpu, create a dedicated virtual environment, and run a baseline model followed by a larger benchmark. From the training logs and benchmark output, you’ll confirm correct execution.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.
uname -m and confirm that the output is aarch64. Then run lscpu and check that the model name reports Neoverse-V2.c4a-standard-4 machine type with 4 vCPUs and 16 GB of memory. This configuration hosts the PyTorch and DeepSpeed workloads.deepspeed-env.deepspeed-env virtual environment and navigate to the ~/deepspeed-demo directory. This ensures the correct dependencies and paths are active.