---
title: Ascend Extension for PyTorch-文档-昇腾社区
description: 华为昇腾Ascend Extension for PyTorch文档聚合页，涵盖框架特性指南、API参考、环境变量、故障处理等，助力开发者快速掌握昇腾PyTorch适配版本的核心能力、高效完成基于昇腾硬件的AI业务开发
keywords: Ascend Extension for PyTorch文档、昇腾PyTorch文档、torch-npu文档
url: https://www.hiascend.com/developer/software/ai-frameworks/pytorch/document
section: (其他)
---

# Ascend Extension for PyTorch-文档-昇腾社区

URL: https://www.hiascend.com/developer/software/ai-frameworks/pytorch/document
描述: 华为昇腾Ascend Extension for PyTorch文档聚合页，涵盖框架特性指南、API参考、环境变量、故障处理等，助力开发者快速掌握昇腾PyTorch适配版本的核心能力、高效完成基于昇腾硬件的AI业务开发
关键词: Ascend Extension for PyTorch文档、昇腾PyTorch文档、torch-npu文档

PyTorch 框架适配

概览

下载

开发

文档

学习

快速开始

概览

下载

开发

文档

学习

TorchNPU 26.1.0的关键特性

查阅TorchNPU文档

TorchNPU 26.1.0的关键特性

查阅TorchNPU文档


文档

版本选择:

26.1.0

26.1.0

更新时间: 2026/08/04

作为Ascend for PyTorch社区的核心组件，TorchNPU（原名Ascend Extension for PyTorch）是昇腾专为PyTorch打造的深度学习适配框架，使PyTorch框架能够直接调用昇腾NPU，为开发者提供强劲的AI算力支撑。

TorchNPU概述 [了解详情](https://www.hiascend.com/document/detail/zh/Pytorch/2610/userguide/torchnpuoverview/docs/zh/overview/product_overview.md)版本说明 [了解详情](https://www.hiascend.com/document/detail/zh/Pytorch/2610/releasenote/docs/zh/release_notes/release_notes.md)快速安装 [了解详情](https://www.hiascend.com/developer/software/ai-frameworks/pytorch/download)

# TorchNPU

#### TorchNPU 26.1.0的关键特性

- 原Ascend Extension for PyTorch和torch_npu现已统一更名为TorchNPU，点击查看详情 [了解详情](https://www.hiascend.com/productbulletins/detail/791)。
- 新增支持Ascend 950DT产品。
- Eager模式使能DVM无图融合算子，点击查看详情 [了解详情](https://www.hiascend.com/document/detail/zh/Pytorch/latest/apiref/ENV/docs/zh/environment_variable_reference/TORCH_NPU_LAZY_FUSION.md)。
- NPU上支持LibTorch Stable ABI，点击查看详情 [了解详情](https://www.hiascend.com/document/detail/zh/Pytorch/latest/apiref/customapi/docs/zh/custom_APIs/cpp/C_list.md#libtorch-stable-abi接口)。
- 关键计算类API支持异构输入。
- 支持输入张量全轴动态场景下的算子编译。

#### 查阅TorchNPU文档

安装指南

快速安装 [了解详情](https://www.hiascend.com/developer/software/ai-frameworks/pytorch/download)

软件安装 [了解详情](https://www.hiascend.com/document/detail/zh/Pytorch/2610/installguide/swinstall/docs/zh/installation_guide/installation_description.md)

用户指南

TorchNPU概述 [了解详情](https://www.hiascend.com/document/detail/zh/Pytorch/2610/userguide/torchnpuoverview/docs/zh/overview/product_overview.md)

快速入门 [了解详情](https://www.hiascend.com/document/detail/zh/Pytorch/2610/userguide/fastexperience/docs/zh/quick_start/quick_start.md)

Torch.compile [了解详情](https://www.hiascend.com/document/detail/zh/Pytorch/2610/userguide/torchcompile/docs/zh/torch_compile/pytorch_compilation_mode.md)

配套软件库 [了解详情](https://www.hiascend.com/document/detail/zh/Pytorch/2610/userguide/SuppLib/FrameworkPTAdapter/26.1.0/zh/supported_suites_and_third_party_libraries/supported_suites_and_third_party_libraries.md)

故障处理 [了解详情](https://www.hiascend.com/document/detail/zh/Pytorch/2610/userguide/troubleshooting/docs/zh/troubleshooting/troubleshooting_process.md)

API

原生API [了解详情](https://www.hiascend.com/document/detail/zh/Pytorch/2610/apiref/nativeapi/docs/zh/native_apis/pytorch_2-12-0/overview.md)

自定义API [了解详情](https://www.hiascend.com/document/detail/zh/Pytorch/2610/apiref/customapi/docs/zh/custom_APIs/overview.md)

环境变量 [了解详情](https://www.hiascend.com/document/detail/zh/Pytorch/2610/apiref/ENV/docs/zh/environment_variable_reference/env_variable_list.md)

开发指南

框架特性 [了解详情](https://www.hiascend.com/document/detail/zh/Pytorch/2610/devguide/fwfeatures/docs/zh/framework_feature_guide_pytorch/overview.md)

TorchAir [了解详情](https://www.hiascend.com/document/detail/zh/Pytorch/2610/devguide/TorchAir/docs/zh/overview.md)

模型迁移调试 [了解详情](https://www.hiascend.com/document/detail/zh/ModelZoo/traditional_model_train/PyTorch/docs/zh/migration_process.md)

模型性能调优 [了解详情](https://www.hiascend.com/document/detail/zh/ModelZoo/traditional_model_train/PyTorch/docs/zh/performance_tuning/performance_overview.md)

参考

昇腾产品形态说明 [了解详情](https://www.hiascend.com/document/detail/zh/AscendFAQ/ProduTech/productform/hardwaredesc_0001.html)

安全声明 [了解详情](https://www.hiascend.com/document/detail/zh/Pytorch/2610/comref/securityguide/docs/zh/security_statement/security_statement.md)

术语 [了解详情](https://www.hiascend.com/document/detail/zh/Glossary/gls/gls_0001.html)
