Skip to content

get rid of flask tutorials #3403

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 3 commits into from
Jun 23, 2025
Merged
Show file tree
Hide file tree
Changes from all 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: 0 additions & 1 deletion .jenkins/validate_tutorials_built.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"recipes_source/recipes/timer_quick_start",
"recipes_source/recipes/amp_recipe",
"recipes_source/recipes/Captum_Recipe",
"intermediate_source/flask_rest_api_tutorial",
"intermediate_source/text_to_speech_with_torchaudio",
"intermediate_source/tensorboard_profiler_tutorial", # reenable after 2.0 release.
"advanced_source/semi_structured_sparse", # reenable after 3303 is fixed.
Expand Down
3 changes: 0 additions & 3 deletions .lycheeignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,5 @@ https://pytorch.org/tutorials/beginner/colab/n
# Ignore local host link from intermediate_source/tensorboard_tutorial.rst
http://localhost:6006

# Ignore local host link from recipes_source/deployment_with_flask.rst
http://localhost:5000/predict

# Ignore local host link from advanced_source/cpp_frontend.rst
https://www.uber.com/blog/deep-neuroevolution/
9 changes: 0 additions & 9 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -322,14 +322,6 @@ Welcome to PyTorch Tutorials

.. Deploying PyTorch Models in Production


.. customcarditem::
:header: Deploying PyTorch in Python via a REST API with Flask
:card_description: Deploy a PyTorch model using Flask and expose a REST API for model inference using the example of a pretrained DenseNet 121 model which detects the image.
:image: _static/img/thumbnails/cropped/Deploying-PyTorch-in-Python-via-a-REST-API-with-Flask.png
:link: intermediate/flask_rest_api_tutorial.html
:tags: Production

.. customcarditem::
:header: Introduction to TorchScript
:card_description: Introduction to TorchScript, an intermediate representation of a PyTorch model (subclass of nn.Module) that can then be run in a high-performance environment such as C++.
Expand Down Expand Up @@ -1005,7 +997,6 @@ Additional Resources
:caption: Deploying PyTorch Models in Production

beginner/onnx/intro_onnx
intermediate/flask_rest_api_tutorial
beginner/Intro_to_TorchScript_tutorial
advanced/cpp_export
advanced/super_resolution_with_onnxruntime
Expand Down
6 changes: 1 addition & 5 deletions intermediate_source/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ Intermediate tutorials
Spatial Transformer Networks Tutorial
https://pytorch.org/tutorials/intermediate/spatial_transformer_tutorial.html

8. flask_rest_api_tutorial.py
Deploying PyTorch and Building a REST API using Flask
https://pytorch.org/tutorials/intermediate/flask_rest_api_tutorial.html

9. nvfuser_intro_tutorial.py
8. nvfuser_intro_tutorial.py
Introduction to nvFuser
https://pytorch.org/tutorials/intermediate/nvfuser_intro_tutorial.html
333 changes: 0 additions & 333 deletions intermediate_source/flask_rest_api_tutorial.py

This file was deleted.

Loading