Repository navigation
Commit 61c3a3e
authored
Fix broken torchao documentation links (pytorch#21547)
### Problem
Several documentation pages link to torchao URLs that are dead. Two of
them are subtle: the URL returns HTTP 200, but the page is a stub whose
only content is a meta-refresh redirect back to a 404. So a status-code
check passes while a human clicking the link still lands on a 404.
### Fix
Point each link at the page that actually serves the content. The pt2e
tutorials now live under `pt2e_quantization/`, which is the path this
repo already uses in `arm-vgf-overview.md`, `nxp-quantization.md`, and
`quantization-overview.md`, so this also makes the links consistent.
| Old | New |
|---|---|
| `ao/main/tutorials_source/pt2e_quant_ptq.html` |
`ao/main/pt2e_quantization/pt2e_quant_ptq.html` |
| `ao/main/tutorials_source/pt2e_quant_qat.html` |
`ao/main/pt2e_quantization/pt2e_quant_qat.html` |
| `ao/main/serving.html#mobile-deployment-with-executorch` |
`ao/main/eager_tutorials/serving.html#mobile-deployment-with-executorch`
|
| `ao/stable/generated/torchao.quantization.quantize_.html` |
`ao/stable/api_reference/generated/torchao.quantization.quantize_.html`
|
The last one now goes to the specific `quantize_` API page rather than
the general quantization index.
### Verification
Each target was fetched and confirmed to render the expected page,
following both HTTP redirects and html meta-refresh, rather than only
checking the status code. The `#mobile-deployment-with-executorch`
anchor was confirmed present in the served page.
### Files
xnnpack, samsung, coreml and arm-ethos-u quantization docs, the LLM
export guide, and the Arm Ethos-U docgen template. 11 links total. The
docgen template and its generated page are kept in sync.
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils
@Sebastian-Larsson @robell @rascani1 parent e3571c2 commit 61c3a3e
6 files changed
Lines changed: 11 additions & 11 deletions
File tree
- backends/arm/scripts/docgen/ethos-u
- docs/source
- backends
- arm-ethos-u
- coreml
- samsung
- xnnpack
- llm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
| 105 | + | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
| 87 | + | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
0 commit comments