Tackling AI Inference workloads on Azure’s NC A100 v4 virtual machines with time to spare

By Hugo Affaticati

May 29, 2022

Introduction

The NC A100 v4-series virtual machines (VMs) on Azure offer great flexibility for a wide range of workloads. Powered by NVIDIA A100 80GB PCIe Tensor Core GPUs and 3rd generation AMD EPYC 7V13 (Milan) processors, these instances are well-suited for autonomous vehicle training, oil and gas reservoir simulation, video processing, AI/ML inference-powered web services, and much more. They are available in different sizes and configurations to support various computational needs, ranging from one to four NVIDIA GPUs per VM, with the ability to separate each NVIDIA A100 GPU into as many as seven isolated GPU partitions with NVIDIA Multi-Instance GPU (MIG) technology. You can find more details about the product on Microsoft Docs product page.

In this document, we share compelling AI results from MLPerf™ benchmarks by MLCommons® [1] that showcase the adaptability of the NC A100 v4-series, along with the best practices and configuration details you need to be able to replicate them. And as a result, not only do we show that the latest NC A100 v4-series VM performances are applicable to a large range of workloads (from low- to mid-size), but also that they are competitive against similar on-premises offerings and the most cost competitive offering for small workloads.

Key Performance Results

NC A100 v4 adapts from low to mid-size AI workloads

One of the outstanding benefits of the NC A100 v4-series is the capacity to run jobs on the full GPUs or to run jobs in parallel on 2, 3, or 7 partitions of the GPU. We compared the inference performance obtained using a single MIG instance (1/7th of an NVIDIA A100 GPU) of the NC96ads A100 v4 VM to those obtained with one GPU of the NC64as_t4_v3 VM. The NCas_T4_v3-series is powered by NVIDIA T4 Tensor Core GPUs and AMD EPYC 7V12 processor cores and continues to be a benchmark product for entry-level training and inference. Both configurations (the T4-based and the 1/7th A100-based) show almost equal performance, using the MLPerfTM Inference* v2.1 benchmarks. The 1/7th of the A100 GPU even shows a 25% increase in sequences per second for speech recognition workloads, as shown in figure 1. For mid-size workloads, NC A100 v4-series showcases a significant boost in performance with four NVIDIA A100 GPUs. Because the creation of MIG instances is reversible, customers can provision the right-sized GPU acceleration for small to mid-size workloads and always meet their evolving needs with a single virtual machine.

 

thumbnail image 1 of blog post titled Tackling AI Inference workloads on Azure’s NC A100 v4 virtual machines with time to spare
Figure 1 – Speedup factor with 1/7th of an NVIDIA A100 GPU on NCads A100 v4-series compared to a T4 accelerator on NCas_T4_v3-series with MLPerf Inference v2.1 for Offline scenario.

NC A100 v4 is competitive with on-premises performance

Using the MLPerf™ benchmarks, we compared the performance of our on-demand MIG instances on NC A100 v4 VMs to on-premises offerings. Our unverified results for MLPerf™ Inference v2.1 [2] are in line with the submission from the on-premises category of closed division results for MIG instances on the NVIDIA A100 PCIe GPU for MLPerf™ Inference v1.1. This showcases Azure’s uncompromising commitment to enabling customers to use the best available “on-demand” cloud resources to address their workload needs, without sacrifices or approximations.

NC A100 v4 is cost competitive

To understand if it makes sense from a cost perspective to run a MIG A100 instance that is 1/7th of the total GPU vs. a single NCas T4 v3 GPU, we calculated the number of sequences each could compute with a single dollar. For these calculations, we used the “pay as you go” price for machines available in region East US 2 and the throughput in samples/s for MLPerf Inference v2.1 benchmarks. For the inference models run, we see a minimum of 2x improvement in performance per dollar, as shown in figure 2. The speech recognition type of workloads (RNN-T benchmark), however, shows a staggering 2.9x increase in the number of sequences per dollar by using seven MIG A100 instances. Thus, if the workload requires three or more NCas T4 v3 VMs, it is more cost-effective to deploy one NC A100 v4 VM and enable MIG instances (it is not possible to deploy only one MIG instance that is 1/7th of the GPU). Note other GPU maximum MIG slice configurations are possible besides 7, including 2, or 3 total MIG instance configurations.

thumbnail image 2 of blog post titled Tackling AI Inference workloads on Azure’s NC A100 v4 virtual machines with time to spare
Figure 2 – Number of sequences processed per dollar spent on Azure with seven instances of NC A100 v4-series (MIG) and seven accelerators of NCas_T4_v3-series across three benchmarks for MLPerf Inference v2.1.

Highlights of Performance Results

The tables below showcase performance results of the NC64as_T4_v3 (4 GPUs) and NC96ads A100 v4 (1/7th of a GPU) VMs for offline inference scenario with MLPerf™ Inference v2.1.

System NC64as T4 v3 [1]
Benchmark BERT RNN-T ResNet-50 3D-UNet
Score (samples/s) 1,688 6,059 24,321 1.9

* The results above were not verified by MLCommons Association

System  1 of 7 instances (MIG) on NC96ads A100 v4 [2] 
Model 

 

BERT 

(default) 

BERT 

(high accuracy) 

RNN-T  ResNet-50  3D-UNet (default)  3D-UNet 

(high accuracy) 

Score (samples/s)  491  245  1,901  5,406  0.5  0.5 

* The results above were not verified by MLCommons Association

Conclusion

The NC A100 v4-series offers great flexibility through MIG technology to handle different sizes of workload, from small to medium. While we compared the performance of a single MIG instance (1/7th of an NVIDIA A100 GPU) with a full NVIDIA T4 GPU, one can partition the A100 GPU in two or three instances for more compute capabilities, or even keep the A100 GPU at its full capacity. The results speak for themselves as we compared one A100 MIG instance for a 7-MIG configuration to the gold standard of small AI workload GPUs, the T4: deploying a NC A100 v4 VM is more cost-performant if the workload requires three or more T4 GPUs. You can reproduce these impressive results using the guidelines below.

Recreate the Results in Azure

To get started with NC A100 v4-series, please visit the following links:

[1] MLCommons® is an open engineering consortium of AI leaders from academia, research labs, and industry where the mission is to “build fair and useful benchmarks” that provide unbiased evaluations of training and inference performance for hardware, software, and services—all conducted under prescribed conditions. MLPerf™ tests are transparent and objective real-world compute-intensive AI workloads, so technology decision makers can rely on the results to make informed buying decisions.

[2] Result not verified by MLCommons Association. The MLPerf™ name and logo are trademarks of MLCommons Association in the United States and other countries. All rights reserved. Unauthorized use is strictly prohibited. See www.mlcommons.org for more information. The results were obtained on the NC96ads A100 v4 virtual machine using Ubuntu HPC 20.04 image, cuda 12.0, NVIDIA driver version 525.60.13, and MLPerf Inference v2.1 libraries & datasets. One can reproduce the results by following this guide.

#MakeAIYourReality
#AzureHPCAI
#NVIDIAonAzure

Return to Solution Channel Homepage
Subscribe to HPCwire's Weekly Update!

Be the most informed person in the room! Stay ahead of the tech trends with industy updates delivered to you every week!

Pegasus ‘Big Memory’ Supercomputer Now Deployed at the University of Tsukuba

March 25, 2023

In the bevy of news from Nvidia's GPU Technology Conference this week, another new system has come to light: Pegasus, which entered operations at the University of Tsukuba’s Center for Computational Sciences in January Read more…

EuroHPC Summit: Tackling Exascale, Energy, Industry & Sovereignty

March 24, 2023

As the 2023 EuroHPC Summit opened in Gothenburg on Monday, Herbert Zeisel – chair of EuroHPC’s Governing Board – commented that the undertaking had “left its teenage years behind.” Indeed, a sense of general ma Read more…

Is Fortran the Best Programming Language? Asking ChatGPT

March 23, 2023

I recently wrote about my experience with interviewing ChatGPT here. As promised, in this follow-on and conclusion of my interview, I focus on Fortran and other languages. All in good fun. I hope you enjoy the conclusion of my interview. After my programming language questions, I conclude with a few notes... Read more…

Nvidia Doubling Down on China Market in the Face of Tightened US Export Controls

March 23, 2023

Chipmakers are tightlipped on China activities following a U.S. crackdown on hardware exports to the country. But Nvidia remains unfazed, and is doubling down on China being an important country for its computing hardwar Read more…

Intel’s Sapphire Rapids Comes to Australia’s Gadi Supercomputer

March 22, 2023

Until the launch of Pawsey’s Setonix system last year, NCI’s Gadi system – launched in 2020 – was Australia’s most powerful publicly ranked supercomputer. Now, the system has received a major boost powered by I Read more…

AWS Solution Channel

Shutterstock_2206622211

Install optimized software with Spack configs for AWS ParallelCluster

With AWS ParallelCluster, you can choose a computing architecture that best matches your HPC application. But, HPC applications are complex. That means they can be challenging to get working well. Read more…

 

Get the latest on AI innovation at NVIDIA GTC

Join Microsoft at NVIDIA GTC, a free online global technology conference, March 20 – 23 to learn how organizations of any size can power AI innovation with purpose-built cloud infrastructure from Microsoft. Read more…

Nvidia Announces BlueField-3 GA, Oracle Cloud Is Early User

March 21, 2023

Nvidia today announced general availability for its BlueField-3 data processing unit (DPU) along with impressive early deployments including Oracle Cloud Infrastructure. First described in 2021 and now being delivered, B Read more…

Pegasus ‘Big Memory’ Supercomputer Now Deployed at the University of Tsukuba

March 25, 2023

In the bevy of news from Nvidia's GPU Technology Conference this week, another new system has come to light: Pegasus, which entered operations at the University Read more…

EuroHPC Summit: Tackling Exascale, Energy, Industry & Sovereignty

March 24, 2023

As the 2023 EuroHPC Summit opened in Gothenburg on Monday, Herbert Zeisel – chair of EuroHPC’s Governing Board – commented that the undertaking had “lef Read more…

Nvidia Doubling Down on China Market in the Face of Tightened US Export Controls

March 23, 2023

Chipmakers are tightlipped on China activities following a U.S. crackdown on hardware exports to the country. But Nvidia remains unfazed, and is doubling down o Read more…

Nvidia Announces BlueField-3 GA, Oracle Cloud Is Early User

March 21, 2023

Nvidia today announced general availability for its BlueField-3 data processing unit (DPU) along with impressive early deployments including Oracle Cloud Infras Read more…

Nvidia Announces ‘Tokyo-1’ Generative AI Supercomputer Amid Gradual H100 Rollout

March 21, 2023

Nvidia’s Hopper-generation H100 GPU is continuing its slow march toward “current-generation.” After Nvidia announced that the H100 was in “full producti Read more…

DGX Cloud Is Here: Nvidia’s AI Factory Services Start at $37,000

March 21, 2023

If you are a die-hard Nvidia loyalist, be ready to pay a fortune to use its AI factories in the cloud. Renting the GPU company's DGX Cloud, which is an all-inclusive AI supercomputer in the cloud, starts at $36,999 per instance for a month. The rental includes access to a cloud computer with eight Nvidia H100 or A100 GPUs and 640GB... Read more…

Quantum Bits: IBM-Cleveland Clinic Launch; D-Wave Adds Solver; DOE/AWS Offer QICK

March 20, 2023

IBM today launched the first installation of an IBM Quantum System One at a collaborator site in the U.S. – this one is at the Cleveland Clinic where IBM’s Read more…

SCA23: Pawsey’s Mark Stickells on Sustainable Australian Supercomputing

March 17, 2023

“While the need for supercomputing is great, we have, in my view, reached a tipping point,” said Mark Stickells, executive director of Australia’s Pawsey Read more…

CORNELL I-WAY DEMONSTRATION PITS PARASITE AGAINST VICTIM

October 6, 1995

Ithaca, NY --Visitors to this year's Supercomputing '95 (SC'95) conference will witness a life-and-death struggle between parasite and victim, using virtual Read more…

SGI POWERS VIRTUAL OPERATING ROOM USED IN SURGEON TRAINING

October 6, 1995

Surgery simulations to date have largely been created through the development of dedicated applications requiring considerable programming and computer graphi Read more…

U.S. Will Relax Export Restrictions on Supercomputers

October 6, 1995

New York, NY -- U.S. President Bill Clinton has announced that he will definitely relax restrictions on exports of high-performance computers, giving a boost Read more…

Dutch HPC Center Will Have 20 GFlop, 76-Node SP2 Online by 1996

October 6, 1995

Amsterdam, the Netherlands -- SARA, (Stichting Academisch Rekencentrum Amsterdam), Academic Computing Services of Amsterdam recently announced that it has pur Read more…

Cray Delivers J916 Compact Supercomputer to Solvay Chemical

October 6, 1995

Eagan, Minn. -- Cray Research Inc. has delivered a Cray J916 low-cost compact supercomputer and Cray's UniChem client/server computational chemistry software Read more…

NEC Laboratory Reviews First Year of Cooperative Projects

October 6, 1995

Sankt Augustin, Germany -- NEC C&C (Computers and Communication) Research Laboratory at the GMD Technopark has wrapped up its first year of operation. Read more…

Sun and Sybase Say SQL Server 11 Benchmarks at 4544.60 tpmC

October 6, 1995

Mountain View, Calif. -- Sun Microsystems, Inc. and Sybase, Inc. recently announced the first benchmark results for SQL Server 11. The result represents a n Read more…

New Study Says Parallel Processing Market Will Reach $14B in 1999

October 6, 1995

Mountain View, Calif. -- A study by the Palo Alto Management Group (PAMG) indicates the market for parallel processing systems will increase at more than 4 Read more…

Leading Solution Providers

Contributors

CORNELL I-WAY DEMONSTRATION PITS PARASITE AGAINST VICTIM

October 6, 1995

Ithaca, NY --Visitors to this year's Supercomputing '95 (SC'95) conference will witness a life-and-death struggle between parasite and victim, using virtual Read more…

SGI POWERS VIRTUAL OPERATING ROOM USED IN SURGEON TRAINING

October 6, 1995

Surgery simulations to date have largely been created through the development of dedicated applications requiring considerable programming and computer graphi Read more…

U.S. Will Relax Export Restrictions on Supercomputers

October 6, 1995

New York, NY -- U.S. President Bill Clinton has announced that he will definitely relax restrictions on exports of high-performance computers, giving a boost Read more…

Dutch HPC Center Will Have 20 GFlop, 76-Node SP2 Online by 1996

October 6, 1995

Amsterdam, the Netherlands -- SARA, (Stichting Academisch Rekencentrum Amsterdam), Academic Computing Services of Amsterdam recently announced that it has pur Read more…

Cray Delivers J916 Compact Supercomputer to Solvay Chemical

October 6, 1995

Eagan, Minn. -- Cray Research Inc. has delivered a Cray J916 low-cost compact supercomputer and Cray's UniChem client/server computational chemistry software Read more…

NEC Laboratory Reviews First Year of Cooperative Projects

October 6, 1995

Sankt Augustin, Germany -- NEC C&C (Computers and Communication) Research Laboratory at the GMD Technopark has wrapped up its first year of operation. Read more…

Sun and Sybase Say SQL Server 11 Benchmarks at 4544.60 tpmC

October 6, 1995

Mountain View, Calif. -- Sun Microsystems, Inc. and Sybase, Inc. recently announced the first benchmark results for SQL Server 11. The result represents a n Read more…

New Study Says Parallel Processing Market Will Reach $14B in 1999

October 6, 1995

Mountain View, Calif. -- A study by the Palo Alto Management Group (PAMG) indicates the market for parallel processing systems will increase at more than 4 Read more…

SC22 Booth Videos

AMD @ SC22
Altair @ SC22
AWS @ SC22
Ayar Labs @ SC22
CoolIT @ SC22
Cornelis Networks @ SC22
DDN @ SC22
Dell Technologies @ SC22
HPE @ SC22
Intel @ SC22
Intelligent Light @ SC22
Lancium @ SC22
Lenovo @ SC22
Microsoft and NVIDIA @ SC22
One Stop Systems @ SC22
Penguin Solutions @ SC22
QCT @ SC22
Supermicro @ SC22
Tuxera @ SC22
Tyan Computer @ SC22
  • arrow
  • Click Here for More Headlines
  • arrow
HPCwire