Creating Ampere AI Virtual Machines on Google Cloud
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.
Log in to your cloud account at cloud.google.com and click “console”.
You will see the following console screen:
Once in the “console” screen, click “Activate Cloud Shell”.
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:
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.
Select “Compute Engine” -> “VM instances”.
Find your VM on the list and click SSH to access it.
You are now ready to use your Ampere optimized framework.
4655 Great America Parkway
Suite 601 Santa Clara, CA 95054