AI acceleration overview

Updated at:

PAI accelerates AI training and inference through dataset caching, distributed training, and model optimization tools.

Acceleration tools

PAI provides acceleration tools for each stage of the AI workflow:

Tool

Stage

Description

DataSetAcc

Data loading

Accelerates dataset sample I/O in storage-compute separation scenarios. Supports multiple storage media and file types. Non-intrusive: no code changes required.

TorchAcc

Training

PyTorch training acceleration framework. Optimizes distributed training with data parallelism, computation-communication overlap, AMP training, and GPU memory optimization.

EPL

Training

Large-scale distributed training framework for TensorFlow. Supports data, operator-splitting, pipeline, and automatic parallelism.

Pai-Megatron-Patch

Training

Accelerates PyTorch Transformer training by integrating optimization techniques with Transformer model libraries.

PAI-Blade

Inference

General-purpose inference optimization for TensorFlow and PyTorch across GPUs, CPUs, and edge devices. Applies graph optimization, AI compiler optimization, mixed precision, and automatic compression via a single API call.

BladeLLM

Inference

High-performance inference engine for large language models (LLMs). Optimizes deployment with model quantization, efficient batching, and GPU memory management.

Local cache acceleration

Data loading

Caches datasets on Lingjun compute nodes to eliminate repeated remote storage reads during multi-epoch training. Supports OSS and CPFS storage.

Get started

Choose a tool based on your optimization goal.

Hands-on tutorials: AI acceleration use cases.