Ascend Extension for PyTorch

Familiarize yourself with Ascend Extension for PyTorch (the torch_npu plugin) and learn how to develop and tune models with it.

Environment Preparation

Model Development

Model Training Acceleration Library

  • MindSpeed

    Accelerate end-to-end LLM, multimodal, and reinforcement learning training with optimized computing, memory, and communication.

Adapted Traditional Model Training

  • Supported Models

    Find the list of adapted models. Refer to the README of each model for training and inference instructions.

Unadapted Traditional Model Migration

Suites and Third-Party Libraries

APIs

Reference

  • Environment Variables

    Find the environment variables available for training and inference.

  • Troubleshooting

    Troubleshoot exceptions that occur during training and inference.

  • Security Statement

    Follow the security hardening recommendations for Ascend Extension for PyTorch and related components.