×
Community Blog How to Speed Up Your AI Training & Inference

How to Speed Up Your AI Training & Inference

This article will give you a brief introduction on AI Acceleration for AI Training and Inference.

By Li Shan

Want to reduce AI Training time from Month to Days.

Have you considered saving the expensive GPU cost?

Is your evaluation on checking the AI module whether it meets the business requirements correct?

...

If some AI jobs troubles you, this solution is definitely your best helper.

In the following document, I will briefly introduce AI Acceleration for AI Training and Inference. Alibaba Cloud provides 6 layers of Services/Component to improve speed and saving cost of AI Model Training and Inference. Below diagram is an option to help you choose which is suitable for you scenario.

1

1.  GPU Instance

Alibaba Cloud provides GPU accelerated instances at more than ten specifications to support NVIDIA A100, NVIDIA A10, NVIDIA V100, NVIDIA P100, NVIDIA P4, NVIDIA T4, and NVIDIA GRID, and enhance AI training, AI inference and graphics virtualization scenarios. With Asia's largest commercial GPU computing cluster, Alibaba Cloud has over 50% of the AI market.

2.  AIACC

AIACC is short for Apsara AI Acceleration, a unified distributed deep learning training and inference acceleration engine provided by Alibaba Cloud. AIACC supports various widely used distributed training frameworks including TensorFlow, PyTorch, MXNet, Caffe, and Kaldi, and is applicable to the classification and recognition of massive images, Click-Through Rate (CTR) estimation, natural language processing (NLP), speech and face recognition, and many other fields. In breaking the world record in the DAWNBench ImageNet Training, AIACC is officially ranked on top of the performance list. The training was performed

in a cluster that included 128 V100 GPUs, provided by 16 ecs.gn6ec12g1.24xlarge instances. In addition, a 32 Gbit/s virtual private cloud (VPC) was used as the communication network. When the previous world record was set, the cluster for training included 128 V100 GPUs and used 100 Gbit/s InfiniBand as the communication network.

3.  GPU Sharing

GPUs are expensive and often deployed in a large scale to support workloads. Therefore, the improvement of overall resource usage in a large GPU cluster to realize the potential of each GPU is the key challenge in GPU scheduling. Think below situation: Cluster administrators who want to improve the GPU utilization of the cluster need a more flexible scheduling strategy. Application developers need to run model training tasks on multiple GPUs at the same time.

GPU sharing is based on Alibaba Cloud Container Service for Kubernetes (ACK), which supports multiple pods to share the same GPU at the cluster level, a single pod to use multiple GPUs, or a pod to use only one GPU. GPU isolation is isolate GPU memory and tasks at the same time to ensure the stability and security of AI inference tasks.

4.  Data Acceleration

Fluid is developed by Alibaba Cloud, it also accepted as an official sandbox project by CNCF. Fluid is a scalable distributed data orchestration and acceleration system running on Kubernetes. It introduces a range of technological innovations in data caching, collaborative orchestration, and scheduling optimization of cloud-native applications and data. Fluid improves task operation efficiency by providing features such as dataset preloading, metadata management optimization, small file I/O optimization, and auto scaling.

5.  Cloud Native Suite

The suite provides a range of tools and components to improve AI engineering efficiency, covering all stages of deep learning from environment construction, data preparation, model development, model training to inference. The following table describes the benefits of the cloud-native AI suite in different stages.

2
3

There are also Whitepaper, demos, solution pages and relevant products for your interests to know more. Visit: https://www.alibabacloud.com/solutions/ai-acceleration

0 0 0
Share on

Alibaba Cloud Community

532 posts | 51 followers

You may also like

Comments

Alibaba Cloud Community

532 posts | 51 followers

Related Products