Repository navigation
Fix links everywhere - #16863
Fix links everywhere#16863
Conversation
🔗 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 PendingAs of commit f697492 with merge base 15ad846 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
There was a problem hiding this comment.
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.htmlstructure for CoreML, MPS, XNNPACK, and Arm Ethos-U - Migrated PyTorch core documentation links from
pytorch.org/docs/maintodocs.pytorch.org/docs/stablewith 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) |
There was a problem hiding this comment.
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.
| 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) |
|
|
||
| ### 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 |
There was a problem hiding this comment.
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.
| 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 --> |
5a3926d to
0a556ec
Compare
0a556ec to
0dd1d42
Compare
There was a problem hiding this comment.
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.
0dd1d42 to
582abe7
Compare
582abe7 to
f697492
Compare
There was a problem hiding this comment.
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.
|
@pytorchbot cherry-pick --onto release/1.1 -c docs |
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)
Cherry picking #16863The cherry pick PR is at #16880 The following tracker issues are updated: Details for Dev Infra teamRaised by workflow job |
Fix broken documentation URLs and add lint-ignore comments for URLs that fail due to timeouts or authentication requirements.
Fixed 404 broken URLs:
Added @lint-ignore for URLs that can't be automatically verified:
Other cleanup:
Test plan