Skip to content

Update redirects.py #3513

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 7, 2025
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions redirects.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"intermediate/dynamic_quantization_bert_tutorial.html": "../index.html",
"intermediate/quantized_transfer_learning_tutorial.html": "../index.html",
"prototype/graph_mode_dynamic_bert_tutorial.html": "../index.html",
"prototype/flight_recorder_tutorial.html": "https://docs.pytorch.org/tutorials/unstable/flight_recorder_tutorial.html"
Copy link
Member

Choose a reason for hiding this comment

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

The same issue applies to the other tutorials in the URL prototype/ URL path (e.g. https://docs.pytorch.org/tutorials/prototype/context_parallel.html)

Though, when I search context parallel on Google it doesn't show this path, but maybe a more systemic fix is to redirect everything under prototype?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think part of the problem is that not everything previously under prototype moved to unstable. It looks like some things no longer exist, some moved to other folders and some moved to unstable. So it will be tough to try and catch all and send it the correct way

"prototype/fx_graph_mode_ptq_dynamic.html": "../index.html",
"prototype/fx_graph_mode_ptq_static.html": "../index.html",
"prototype/fx_graph_mode_quant_guide.html": "../index.html",
Expand Down
Loading