AI acceleration overview

更新时间:
复制 MD 格式

PAI provides acceleration tools for AI training and inference, covering dataset caching, distributed training, and model optimization.

Acceleration tools

PAI offers the following acceleration tools for different stages 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 parallelism, operator splitting, pipeline parallelism, and automatic parallelism strategies.

Pai-Megatron-Patch

Training

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

PAI-Blade

Inference

General-purpose inference optimization for TensorFlow and PyTorch. Supports GPUs, CPUs, and edge devices. Applies graph optimization, AI compiler optimization, mixed precision, and automatic compression through 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

Select the tool that matches your optimization goal.

For hands-on tutorials, see AI acceleration use cases.