Ampere Computing Logo
Contact Sales
Ampere Computing Logo
Hero Image

Creating Ampere AI Virtual Machines on Google Cloud

Tutorial

Introduction

Users don’t have to wait until the general availability of Ampere compute instances on GCP Marketplace for being able to run their AI inference workloads. Indeed, Ampere® Altra®resources are already available on Google Cloud. In this document we describe the step-by-step process for creating an Ampere Altra compute resource on Google Cloud for running Ampere Optimized Frameworks including TensorFlow, PyTorch and ONNX-RT for AI inferencing. Ampere compute shapes are called “t2a” and span from one to 48 cores.

Creating an Ampere Altra T2A Instance

Step 1:

Log in to your cloud account at cloud.google.com and click “console”.

You will see the following console screen:

Step 2:

Once in the “console” screen, click “Activate Cloud Shell”.

step 2 google gcp.jpg

Step 3:

Once in the Cloud Shell, type the following command:

gcloud compute instances create <your-vm-name> --image-family=<framework-name>--ampere-ubuntu -- image-project=ampere-ai -- machine-type=<t2a-based-shape>

Type in your choices in the fields highlighted between brackets as:

: any name you wish

: tensorflow or pytorch or onnxrt

: one of the following:

t2a-standard-1

t2a-standard-4

t2a-standard-16

t2a-standard-32

t2a-standard-48

Click enter.

Step 4:

A few moments after typing in the command on step 3, you will receive the confirmation that the vm has been successfully created. Click on “Navigation menu” in the upper left corner of the interface.

step 4 google gcp.jpg

Step 5:

Select “Compute Engine” -> “VM instances”.

step 5 google gcp.jpg

Step 6:

Find your VM on the list and click SSH to access it.



step 6 google gcp.jpg

Step 7:

You are now ready to use your Ampere optimized framework.

Created At : June 6th 2023, 6:56:35 pm
Last Updated At : February 15th 2024, 7:58:14 pm
Ampere Logo

Ampere Computing

4655 Great America Parkway

Suite 601 Santa Clara, CA 95054

image
image
 |  |  |  |  | 
© 2022 Ampere Computing LLC. All rights reserved. Ampere, Altra and the A and Ampere logos are registered trademarks or trademarks of Ampere Computing.
This site runs on Ampere Processors.