{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/6"},{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/4"},{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/3"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/8"},{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/4"},{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics/2"}],"enrichment":{"capability":"Enables PyTorch to run computations on Huawei Ascend NPU hardware, bridging PyTorch's tensor operations to Ascend AI Processors.","skillfed_tags":["hardware-acceleration","ascend-npu","pytorch-extension"],"use_cases":["Accelerate deep learning training and inference on Ascend NPU hardware without rewriting PyTorch model code.","Deploy PyTorch models to Huawei Ascend-based data centers or edge devices for production inference.","Evaluate Ascend hardware performance for AI workloads by running existing PyTorch experiments on NPU.","Build AI applications targeting Ascend infrastructure in enterprise or cloud environments."],"what_it_does":"torch-npu is a PyTorch extension that adapts Huawei Ascend NPU hardware to work with PyTorch's standard tensor API. It allows developers to move tensors and operations to Ascend processors using familiar PyTorch syntax (e.g., `.npu()` to move a tensor to NPU), without rewriting core model logic. The package acts as a bridge between PyTorch's compute graph and Ascend's hardware capabilities.\n\nThe extension requires PyTorch 2.12.0 and the CANN software stack to be pre-installed on a Linux system (x86_64 or aarch64). Installation is straightforward via pip once dependencies are in place, and the package is actively maintained with recent releases. It targets developers who have access to Ascend hardware and want to leverage it for AI workloads without switching away from PyTorch.","worth_installing":"Yes, if you have Ascend NPU hardware or access to an Ascend environment and want to run PyTorch workloads on it. The package is actively maintained, permissively licensed, and integrates cleanly with PyTorch's API. No if you lack Ascend hardware or CANN software\u2014it will not run on CPU or other accelerators. Verify CANN availability and compatibility with your system before installing."},"id":"torch-npu","links":{"html":"https://skillfed.io/packages/torch-npu","md":"https://skillfed.io/packages/torch-npu.md","pypi":"https://pypi.org/project/torch-npu/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-27","license_spdx":null,"license_treatment":"permissive","name":"torch-npu","python_support":"unspecified","summary":"NPU bridge for PyTorch"},"popularity":{"monthly_downloads":817171,"position":4987,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.12.0"}
