TorchNPU
As the core component of the Ascend for PyTorch community, TorchNPU is a deep learning adapter plugin developed by Ascend for PyTorch. It enables the PyTorch framework to directly invoke Ascend NPUs and provides developers with the powerful compute capabilities of Ascend AI Processors.
Key Features of TorchNPU 26.2.X
- Supports the alltoallvc communication operator, optimizing alltoall communication performance.
- Supports initializing communicators through hierarchical link establishment, optimizing performance.
- Supports Inductor's automatic operator fusion based on the Ascend C IR.
- Inherits DeviceAllocator and supports enabling accelerator memory and graph-related interfaces in Eager mode.
- Starting from this version, the Torch-MLIR compiler in the Inductor backend is deprecated, affecting the Torch.compile and Environment Variables documents. For the specific changes, refer to Related Documents.
- Starting from this version, the compilation optimization functions provided based on the BiSheng Compiler are deprecated and can be replaced with Clang.
TorchNPU Documentation
User Guide |
|---|
Developer Guide |
|---|