Skip to content

Commit 23b7bf7

Browse files
committed
Train and Benchmark AI Workloads with DeepSpeed on Google Cloud C4A Axion VM
Signed-off-by: odidev <odidev@puresoftware.com>
1 parent d721ee4 commit 23b7bf7

9 files changed

Lines changed: 874 additions & 0 deletions

File tree

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
title: Train and Benchmark AI Workloads with DeepSpeed on Google Cloud C4A Axion VM
3+
4+
description: Set up PyTorch and DeepSpeed on Google Cloud C4A Axion Arm VMs running SUSE Linux to train neural network models, benchmark AI workloads, and validate scalable CPU-based AI execution on Arm64 processors.
5+
6+
minutes_to_complete: 30
7+
8+
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.
9+
10+
learning_objectives:
11+
- Install and configure PyTorch and DeepSpeed on Google Cloud C4A Axion processors for Arm64
12+
- Create and execute neural network training workloads using PyTorch
13+
- Benchmark CPU-based AI workloads on Arm64 processors
14+
- Validate scalable AI execution and workload performance on GCP Axion Arm VMs
15+
16+
prerequisites:
17+
- A [Google Cloud Platform (GCP)](https://cloud.google.com/free) account with billing enabled
18+
- Basic familiarity with Python and machine learning concepts
19+
20+
author: Pareena Verma
21+
22+
##### Tags
23+
skilllevels: Introductory
24+
subjects: ML
25+
cloud_service_providers:
26+
- Google Cloud
27+
28+
armips:
29+
- Neoverse
30+
31+
tools_software_languages:
32+
- DeepSpeed
33+
- PyTorch
34+
- Python
35+
36+
operatingsystems:
37+
- Linux
38+
39+
# ================================================================================
40+
# FIXED, DO NOT MODIFY
41+
# ================================================================================
42+
43+
further_reading:
44+
- resource:
45+
title: DeepSpeed official documentation
46+
link: https://www.deepspeed.ai/
47+
type: documentation
48+
49+
- resource:
50+
title: DeepSpeed GitHub repository
51+
link: https://github.com/microsoft/DeepSpeed
52+
type: documentation
53+
54+
- resource:
55+
title: PyTorch documentation
56+
link: https://pytorch.org/docs/stable/index.html
57+
type: documentation
58+
59+
weight: 1
60+
layout: "learningpathall"
61+
learning_path_main_page: yes
62+
---
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
# ================================================================================
3+
# FIXED, DO NOT MODIFY THIS FILE
4+
# ================================================================================
5+
weight: 21 # Set to always be larger than the content in this path to be at the end of the navigation.
6+
title: "Next Steps" # Always the same, html page title.
7+
layout: "learningpathall" # All files under learning paths have this same wrapper for Hugo processing.
8+
---
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: Learn about DeepSpeed and Google Axion C4A for AI training
3+
weight: 2
4+
5+
layout: "learningpathall"
6+
---
7+
8+
## Google Axion C4A Arm instances for AI and machine learning
9+
10+
Google Axion C4A is a family of Arm-based virtual machines built on Google’s custom Axion CPU, which is based on Arm Neoverse V2 cores. Designed for high-performance and energy-efficient computing, these virtual machines offer strong performance for AI, machine learning, data analytics, and modern cloud-native workloads.
11+
12+
The C4A series provides a cost-effective alternative to x86 virtual machines while leveraging the scalability and efficiency advantages of the Arm architecture in Google Cloud.
13+
14+
For AI and machine learning workloads, Axion processors provide high multi-core CPU throughput, efficient tensor computation performance, improved performance-per-watt, and scalable CPU execution for training and inference workloads. These capabilities make Axion Arm-based systems suitable for neural network training, benchmarking, experiment validation, and scalable AI development pipelines.
15+
16+
To learn more, see the Google blog [Introducing Google Axion Processors, our new Arm-based CPUs](https://cloud.google.com/blog/products/compute/introducing-googles-new-arm-based-cpu).
17+
18+
## DeepSpeed for scalable AI training on Arm
19+
20+
DeepSpeed is an open-source deep learning optimization framework developed by Microsoft to enable efficient and scalable training of large AI models. It is widely used for distributed deep learning, memory optimization, large language model (LLM) training, efficient inference execution, and high-performance AI workloads.
21+
22+
DeepSpeed provides a unified optimization platform with capabilities such as:
23+
24+
* ZeRO (Zero Redundancy Optimizer) memory optimization
25+
* Distributed training acceleration
26+
* Mixed precision training
27+
* Pipeline and tensor parallelism
28+
* Optimized inference execution
29+
* Scalable AI workload management
30+
31+
Running DeepSpeed on Google Axion C4A Arm-based infrastructure enables efficient CPU-based AI training and benchmarking workflows by utilizing multi-core Arm processors and optimized memory performance. This results in improved performance-per-watt, reduced infrastructure costs, and scalable execution for AI experimentation and model training workloads.
32+
33+
On SUSE Linux Enterprise Server Arm64 environments, some DeepSpeed native CPU communication extensions require newer GCC toolchains for compilation. For this reason, this Learning Path uses DeepSpeed compatibility-mode installation together with PyTorch CPU execution to provide stable AI workload validation and benchmarking on GCP Axion Arm64 processors.
34+
35+
Common use cases include neural network training, AI benchmarking, scalable experimentation pipelines, distributed AI research environments, and CPU-based inference validation workflows.
36+
37+
To learn more, see the [DeepSpeed documentation](https://www.deepspeed.ai/) and the [DeepSpeed GitHub repository](https://github.com/microsoft/DeepSpeed).
38+
39+
## What you've learned and what's next
40+
41+
You've now learned about Google Axion C4A Arm-based virtual machines and their performance advantages for AI and machine learning workloads. You were also introduced to core DeepSpeed capabilities including distributed training optimization, ZeRO memory optimization, scalable AI execution, and CPU-based AI benchmarking workflows.
42+
43+
Next, you'll set up PyTorch and DeepSpeed on a GCP Axion Arm64 virtual machine, configure a Python AI/ML environment, and begin running AI training and benchmarking workloads on Arm processors.
23.5 KB
Loading
22.3 KB
Loading
261 KB
Loading

0 commit comments

Comments
 (0)