From 36e9ccd7eafb10b728099abfc3240c289e5a9b3b Mon Sep 17 00:00:00 2001 From: Eduardo Patrocinio Date: Tue, 9 Dec 2025 14:19:05 -0500 Subject: [PATCH 1/2] Fix broken link: Remove reference to non-existent dynamic_quantization recipe The dynamic_quantization.py recipe file does not exist in the repository, causing a 404 error when accessing the URL: https://pytorch.org/tutorials/recipes/recipes/dynamic_quantization.html Removed references to this missing recipe from: - recipes_index.rst - recipes_source/recipes/README.txt Also renumbered subsequent items in README.txt to maintain sequential numbering. Fixes #3503 --- recipes_index.rst | 1 - recipes_source/recipes/README.txt | 14 +++++--------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/recipes_index.rst b/recipes_index.rst index b8cb9089e44..2d81c9544d5 100644 --- a/recipes_index.rst +++ b/recipes_index.rst @@ -327,7 +327,6 @@ from our full-length tutorials. recipes/recipes/profile_with_itt recipes/recipes/Captum_Recipe recipes/recipes/tensorboard_with_pytorch - recipes/recipes/dynamic_quantization recipes/recipes/amp_recipe recipes/recipes/tuning_guide recipes/recipes/xeon_run_cpu diff --git a/recipes_source/recipes/README.txt b/recipes_source/recipes/README.txt index 4ed6d351ae3..ceb9049858c 100644 --- a/recipes_source/recipes/README.txt +++ b/recipes_source/recipes/README.txt @@ -21,26 +21,22 @@ PyTorch Recipes Model Interpretability using Captum https://pytorch.org/tutorials/recipes/recipes/Captum_Recipe.html -6. dynamic_quantization.py - Dynamic Quantization - https://pytorch.org/tutorials/recipes/recipes/dynamic_quantization.html - -7. warmstarting_model_using_parameters_from_a_different_model.py +6. warmstarting_model_using_parameters_from_a_different_model.py Warmstarting models using parameters from different model https://pytorch.org/tutorials/recipes/recipes/warmstarting_model_using_parameters_from_a_different_model.html -8. zeroing_out_gradients.py +7. zeroing_out_gradients.py Zeroing out gradients https://pytorch.org/tutorials/recipes/recipes/zeroing_out_gradients.html -9. mobile_perf.py +8. mobile_perf.py PyTorch Mobile Performance Recipes https://pytorch.org/tutorials/recipes/mobile_perf.html -10. amp_recipe.py +9. amp_recipe.py Automatic Mixed Precision https://pytorch.org/tutorials/recipes/amp_recipe.html -11. regional_compilation.py +10. regional_compilation.py Reducing torch.compile cold start compilation time with regional compilation https://pytorch.org/tutorials/recipes/regional_compilation.html From 10fc715e48af8ca377191ab8b6db06eb47bf5486 Mon Sep 17 00:00:00 2001 From: Eduardo Patrocinio Date: Wed, 10 Dec 2025 17:13:32 -0500 Subject: [PATCH 2/2] Fix additional broken links in README.txt - Removed reference to non-existent custom_dataset_transforms_loader.py - Fixed amp_recipe.py URL from /recipes/amp_recipe.html to /recipes/recipes/amp_recipe.html - Renumbered items 4-10 to 4-9 after removal This fixes the 404 errors: - https://pytorch.org/tutorials/recipes/recipes/custom_dataset_transforms_loader.html - https://pytorch.org/tutorials/recipes/amp_recipe.html --- recipes_source/recipes/README.txt | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/recipes_source/recipes/README.txt b/recipes_source/recipes/README.txt index ceb9049858c..0f62c13b296 100644 --- a/recipes_source/recipes/README.txt +++ b/recipes_source/recipes/README.txt @@ -12,31 +12,26 @@ PyTorch Recipes Saving and loading models for inference in PyTorch https://pytorch.org/tutorials/recipes/recipes/saving_and_loading_models_for_inference.html -4. custom_dataset_transforms_loader.py - Developing Custom PyTorch Dataloaders - https://pytorch.org/tutorials/recipes/recipes/custom_dataset_transforms_loader.html - - -5. Captum_Recipe.py +4. Captum_Recipe.py Model Interpretability using Captum https://pytorch.org/tutorials/recipes/recipes/Captum_Recipe.html -6. warmstarting_model_using_parameters_from_a_different_model.py +5. warmstarting_model_using_parameters_from_a_different_model.py Warmstarting models using parameters from different model https://pytorch.org/tutorials/recipes/recipes/warmstarting_model_using_parameters_from_a_different_model.html -7. zeroing_out_gradients.py +6. zeroing_out_gradients.py Zeroing out gradients https://pytorch.org/tutorials/recipes/recipes/zeroing_out_gradients.html -8. mobile_perf.py +7. mobile_perf.py PyTorch Mobile Performance Recipes https://pytorch.org/tutorials/recipes/mobile_perf.html -9. amp_recipe.py +8. amp_recipe.py Automatic Mixed Precision - https://pytorch.org/tutorials/recipes/amp_recipe.html + https://pytorch.org/tutorials/recipes/recipes/amp_recipe.html -10. regional_compilation.py +9. regional_compilation.py Reducing torch.compile cold start compilation time with regional compilation https://pytorch.org/tutorials/recipes/regional_compilation.html