Skip to content

[Additional Platforms] Update Ascend NPU install commands - #2151

Open
huangjingwei wants to merge 2 commits into
pytorch:sitefrom
huangjingwei:site
Open

huangjingwei wants to merge 2 commits into
pytorch:sitefrom
huangjingwei:site

Conversation

@huangjingwei

@huangjingwei huangjingwei commented Nov 4, 2026 •

Copy link
Copy Markdown

Warning

This repository is NOT the source of truth for the PyTorch website.
Only a very small number of files here are still actively used. Please do not submit website changes to this repo.

See the README for details, or contact the PyTorch Foundation team at ops@pytorch.org.


If your change is to one of the few files still served from this repo, please describe it below:

Description

This PR updates the Ascend NPU installation instructions:

  • Stable install command — simplified to pip3 install torch-npu --extra-index-url https://download.pytorch.org/whl/cpu, removing the hard-coded torch==2.10.0 / torch-npu==2.10.0 version pins.
  • Preview install command — added a new preview section pointing to the PyTorch nightly CPU index plus the Huawei Ascend nightly PyPI mirror.
  • Python requirement — raised the minimum from Python >= 3.10 to Python >= 3.11.
  • CANN requirement — replaced the fixed >= 8.0 version with a link to the official torch-npu version mapping table.

cc @fffrog @can-gaa-hou @zeshengzong @KarhouTam

Motivation

The previous instructions pinned specific versions (torch==2.10.0, torch-npu==2.10.0, CANN >= 8.0), which require manual updates every release. Switching to unpinned installs and the official version mapping table lets users always install the correct, mutually-compatible versions of torch, torch-npu, and CANN without hard-coded version numbers. It also adds a preview/nightly install path for users who want the latest Ascend NPU support.

@netlify

netlify Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for pytorch-dot-org-preview ready!

Name Link
🔨 Latest commit 7949c45
🔍 Latest deploy log https://app.netlify.com/projects/pytorch-dot-org-preview/deploys/6aebef7428a814a676090c14
😎 Deploy Preview https://deploy-preview-2151--pytorch-dot-org-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@linux-foundation-easycla

linux-foundation-easycla Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: huangjingwei / name: JingweiHuang (6ffacc1)

@huangjingwei huangjingwei changed the title [Additional Platforms] Update Ascend NPU install commands and softwar… [Additional Platforms] Update Ascend NPU install commands Nov 4, 2026

@fffrog fffrog left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

@can-gaa-hou

Copy link
Copy Markdown
Contributor

cc @albanD please review this change when you are free. Thanks!

@albanD albanD left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that we're moving this to https://github.com/pytorch/test-infra/tree/main/tools/quick_start
We should move this PR there.

Comment thread _additional_platforms/ascend_npu.json Resolved
@huangjingwei

Copy link
Copy Markdown
Author

Note that we're moving this to https://github.com/pytorch/test-infra/tree/main/tools/quick_start We should move this PR there.

Thanks,The new PR: pytorch/test-infra#9345

@huangjingwei
huangjingwei requested a review from albanD November 6, 2026 03:47

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants