Skip to content

Fix links everywhere - #16863

Merged
mergennachin merged 1 commit into
mainfrom
fix_links
Jan 26, 2026
Merged

mergennachin merged 1 commit into
mainfrom
fix_links

Conversation

@mergennachin

@mergennachin mergennachin commented Jan 25, 2026 •

Copy link
Copy Markdown
Contributor

Fix broken documentation URLs and add lint-ignore comments for URLs that fail due to timeouts or authentication requirements.

Fixed 404 broken URLs:

  • Updated torch.export documentation URLs from pytorch.org/docs/stable/export.html to docs.pytorch.org/docs/stable/user_guide/torch_compiler/export.html
  • Fixed ARM Ethos-U backend URL to use new path structure (/backends/arm-ethos-u/arm-ethos-u-overview.html)
  • Fixed XNNPACK internals URL (xnnpack-internals.html → xnnpack-arch-internals.html)
  • Fixed XNNPACK delegate lowering tutorial URL
  • Fixed Qualcomm backend URL

Added @lint-ignore for URLs that can't be automatically verified:

  • HuggingFace gated model URLs (require authentication, return 401)
  • PyTorch HUD URLs (timeout in CI environment, return 000)

Other cleanup:

  • Removed outdated paragraph referencing non-existent test_xnnpack_qnnpack.py file from delegate documentation

Test plan

  • Verify link-check / lint-urls CI job passes
  • Spot-check a few of the updated URLs manually

Copilot AI review requested due to automatic review settings January 25, 2026 18:15
@pytorch-bot

pytorch-bot Bot commented Jan 25, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/16863

Note: Links to docs will display an error until the docs builds have been completed.

❌ 2 New Failures, 39 Pending

As of commit f697492 with merge base 15ad846 (image):

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 25, 2026
@mergennachin
mergennachin requested a review from rascani January 25, 2026 18:16
@github-actions

Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

Copilot AI 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.

Pull request overview

This pull request updates documentation links throughout the ExecuTorch codebase to reflect a new documentation URL structure and fixes spelling errors. The changes primarily migrate from pytorch.org/executorch and pytorch.org/docs/main to the more structured docs.pytorch.org/executorch and docs.pytorch.org/docs/stable URLs.

Changes:

  • Updated backend documentation URLs to use the new docs.pytorch.org/executorch/main/backends/{backend}/{backend}-overview.html structure for CoreML, MPS, XNNPACK, and Arm Ethos-U
  • Migrated PyTorch core documentation links from pytorch.org/docs/main to docs.pytorch.org/docs/stable with updated paths for torch.export and torch.compiler
  • Fixed spelling typo "follwing" to "following" in error messages
  • Added <!-- @lint-ignore --> comments for external URLs (HuggingFace, hud.pytorch.org) to suppress linter warnings
  • Updated example reference in compiler-delegate-and-partitioner.md from non-existent file to existing file

Reviewed changes

Copilot reviewed 23 out of 23 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
extension/llm/export/quantizer_lib.py Fixed typo and updated CoreML backend installation link to new docs structure
extension/llm/export/partitioner_lib.py Fixed typo and updated MPS backend installation link to new docs structure
extension/benchmark/README.md Added lint-ignore comment for benchmark dashboard URL
examples/xnnpack/README.md Updated XNNPACK backend overview link to new docs structure
examples/raspberry_pi/pico2/README.md Updated Arm Ethos-U setup link to new docs structure
examples/qualcomm/qaihub_scripts/utils/README.md Added lint-ignore comment for HuggingFace URL
examples/qualcomm/qaihub_scripts/stable_diffusion/qaihub_stable_diffusion.py Added lint-ignore comments for HuggingFace URLs in code comments
examples/qualcomm/qaihub_scripts/stable_diffusion/README.md Added lint-ignore comment for HuggingFace URL
examples/qualcomm/qaihub_scripts/llama/README.md Added lint-ignore comment for HuggingFace URL
examples/models/llama/UTILS.md Updated CoreML, MPS, and QNN backend links to new docs structure
examples/models/efficient_sam/README.md Updated CoreML and XNNPACK links to new docs structure with anchor fragments
docs/source/using-executorch-export.md Updated torch.export documentation links from main to stable with new path structure
docs/source/llm/export-llm-optimum.md Added lint-ignore comment for benchmark dashboard URL
docs/source/ir-ops-set-definition.md Updated torch.export documentation link from main to stable with new path
docs/source/intro-how-it-works.md Updated torch.export documentation link from main to stable with new path
docs/source/getting-started-architecture.md Updated control flow and torch.export documentation links to stable version
docs/source/compiler-delegate-and-partitioner.md Updated example reference from non-existent file to existing test file
docs/source/backends-cadence.md Updated torchaudio RNNT model documentation link
docs/source/archive/backends-cadence-legacy.md Updated torchaudio RNNT model documentation link
backends/xnnpack/README.md Updated XNNPACK backend and internals links to new docs structure
CONTRIBUTING.md Added lint-ignore annotation for CI dashboard URL
.ci/scripts/tests/test_get_benchmark_analysis_data.py Added lint-ignore comments for hud.pytorch.org URLs in tests
.ci/scripts/benchmark_tooling/get_benchmark_analysis_data.py Added lint-ignore comment for hud.pytorch.org URL

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

* Like all PyTorch use cases, ExecuTorch starts from model authoring, where standard `nn.Module` eager mode PyTorch programs are created.
* Export-specific helpers are used to represent advanced features like [control
flow](https://pytorch.org/docs/main/export.html#data-shape-dependent-control-flow)
flow](https://docs.pytorch.org/docs/stable/export.html#data-shape-dependent-control-flow)

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

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

This URL should be updated to use the same pattern as line 25 and line 43 in this file. The correct URL should be https://docs.pytorch.org/docs/stable/user_guide/torch_compiler/export.html#data-shape-dependent-control-flow instead of https://docs.pytorch.org/docs/stable/export.html#data-shape-dependent-control-flow for consistency with the rest of the updated links.

Suggested change
flow](https://docs.pytorch.org/docs/stable/export.html#data-shape-dependent-control-flow)
flow](https://docs.pytorch.org/docs/stable/user_guide/torch_compiler/export.html#data-shape-dependent-control-flow)

Copilot uses AI. Check for mistakes.
Comment thread CONTRIBUTING.md Outdated

### Continuous Integration
See https://hud.pytorch.org/hud/pytorch/executorch/main for the current state of
See https://hud.pytorch.org/hud/pytorch/executorch/main for the current state of @lint-ignore

Copilot AI Jan 25, 2026

Copy link

Choose a reason for hiding this comment

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

The lint ignore comment is not properly formatted as an HTML comment. It should be <!-- @lint-ignore --> to match the pattern used in other markdown files (as seen in extension/benchmark/README.md, examples/qualcomm files, etc.). The current format with just @lint-ignore at the end of the line without HTML comment syntax will not be recognized by linters.

Suggested change
See https://hud.pytorch.org/hud/pytorch/executorch/main for the current state of @lint-ignore
See https://hud.pytorch.org/hud/pytorch/executorch/main for the current state of <!-- @lint-ignore -->

Copilot uses AI. Check for mistakes.

Copilot AI 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.

Pull request overview

Copilot reviewed 23 out of 23 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings January 26, 2026 16:43

Copilot AI 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.

Pull request overview

Copilot reviewed 28 out of 28 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mergennachin
mergennachin merged commit b3a4a1f into main Jan 26, 2026
329 of 331 checks passed
@mergennachin
mergennachin deleted the fix_links branch January 26, 2026 18:28
@mergennachin

Copy link
Copy Markdown
Contributor Author

@pytorchbot cherry-pick --onto release/1.1 -c docs

pytorchbot pushed a commit that referenced this pull request Jan 26, 2026
Fix broken documentation URLs and add lint-ignore comments for URLs that
fail due to timeouts or authentication requirements.

Fixed 404 broken URLs:
- Updated torch.export documentation URLs from
pytorch.org/docs/stable/export.html to
docs.pytorch.org/docs/stable/user_guide/torch_compiler/export.html
- Fixed ARM Ethos-U backend URL to use new path structure
(/backends/arm-ethos-u/arm-ethos-u-overview.html)
- Fixed XNNPACK internals URL (xnnpack-internals.html →
xnnpack-arch-internals.html)
- Fixed XNNPACK delegate lowering tutorial URL
- Fixed Qualcomm backend URL

Added @lint-ignore for URLs that can't be automatically verified:
- HuggingFace gated model URLs (require authentication, return 401)
- PyTorch HUD URLs (timeout in CI environment, return 000)

Other cleanup:
- Removed outdated paragraph referencing non-existent
test_xnnpack_qnnpack.py file from delegate documentation

Test plan

- Verify link-check / lint-urls CI job passes
- Spot-check a few of the updated URLs manually

(cherry picked from commit b3a4a1f)
@pytorchbot

Copy link
Copy Markdown
Collaborator

Cherry picking #16863

The cherry pick PR is at #16880 The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants