Deploy TensorFlow on Google Cloud C4A (Arm-based Axion VMs)
Introduction
Get started with TensorFlow on Google Axion C4A
Create a Google Axion C4A Arm virtual machine on GCP
Install TensorFlow
Test TensorFlow baseline performance on Google Axion C4A
Benchmark TensorFlow model performance using tf.keras
Next Steps
Deploy TensorFlow on Google Cloud C4A (Arm-based Axion VMs)
Provision a Google Axion C4A Arm VM
In this section, you’ll provision a Google Axion C4A Arm virtual machine (VM) on Google Cloud Platform (GCP) using the c4a-standard-4 (4 vCPUs, 16 GB memory) machine type.
For help with GCP setup, see the Learning Path Getting started with Google Cloud Platform .
Create your VM
Go to the Google Cloud Console .
Select Compute Engine > VM Instances and click Create Instance.
Under Machine configuration:
- Fill in Instance name, Region, and Zone.
- Set Series to
C4A. - Choose
c4a-standard-4for machine type.
Creating a Google Axion C4A Arm virtual machine in Google Cloud ConsoleUnder OS and Storage, click Change and select an Arm64-based OS image. For this Learning Path, choose SUSE Linux Enterprise Server (SLES).
- Select “Pay As You Go” for the license type.
- Click Select to confirm your OS choice.
Under Networking, enable Allow HTTP traffic.
Click Create to launch your VM instance.
Once created, find your VM in the list and click SSH to open an SSH session in your browser.
Invoke an SSH session into your running VM instance
- A new browser window opens with a terminal shell connected to your VM.
Terminal shell in your VM instance
You have successfully provisioned an Arm-based VM on Google Cloud. Next, you’ll install TensorFlow on your new instance!