Azure Container for PyTorch (ACPT)

Azure Container for PyTorch (ACPT) is a lightweight, standalone environment that includes needed components to effectively run optimized training for large models. It helps with reducing preparation costs and faster deployment time. ACPT can be used to quickly get started with various deep learning tasks with PyTorch on Azure.

Contents

Why should I use ACPT?

  • Flexibility: Use as-is with preinstalled packages or build on top of the curated environment.
  • Ease of use: All components are installed and validated against dozens of Microsoft workloads to reduce setup costs and accelerate time to value.
  • Efficiency: Avoid unnecessary image builds and only have required dependencies that are accessible right in the image/container.
  • Optimized training framework: Set up, develop, and accelerate PyTorch models on large workloads, and improve training and deployment success rate.
  • Up-to-date stack: Access the latest compatible versions of Ubuntu, Python, PyTorch, CUDA/RocM, etc.
  • Latest training optimization technologies: Make use of ONNX Runtime, DeepSpeed, MSCCL, and more.

Supported configurations for Azure Container for PyTorch (ACPT)

The following configurations are supported in the Microsoft Container Registry (MCR): ptca_image_list.md.

Other packages like fairscale, horovod, msccl, protobuf, pyspark, pytest, pytorch-lightning, tensorboard, NebulaML, torchvision, and torchmetrics are provided to support all training needs.

Support

Version updates for supported environments, including the base images they reference, are released every two weeks to address vulnerabilities no older than 30 days. Based on usage, some environments may be deprecated (hidden from the product but usable) to support more common machine learning scenarios.