Skip to content

Commit

Permalink
Change torchscript maintenance from note to warning (#3169)
Browse files Browse the repository at this point in the history
This changes the TorchScript notes to warnings because we want people to move away from TorchScript and not being under maintenance is scary
  • Loading branch information
msaroufim authored Dec 2, 2024
1 parent 3ba3a46 commit 1428770
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion advanced_source/cpp_export.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Loading a TorchScript Model in C++
=====================================

.. note:: TorchScript is no longer in active development.
.. warning:: TorchScript is no longer in active development.

As its name suggests, the primary interface to PyTorch is the Python
programming language. While Python is a suitable and preferred language for
Expand Down
2 changes: 1 addition & 1 deletion advanced_source/torch-script-parallelism.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Dynamic Parallelism in TorchScript
==================================

.. note:: TorchScript is no longer in active development.
.. warning:: TorchScript is no longer in active development.

In this tutorial, we introduce the syntax for doing *dynamic inter-op parallelism*
in TorchScript. This parallelism has the following properties:
Expand Down
2 changes: 1 addition & 1 deletion advanced_source/torch_script_custom_classes.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extending TorchScript with Custom C++ Classes
===============================================

.. note:: TorchScript is no longer in active development.
.. warning:: TorchScript is no longer in active development.

This tutorial is a follow-on to the
:doc:`custom operator <torch_script_custom_ops>`
Expand Down
2 changes: 1 addition & 1 deletion beginner_source/Intro_to_TorchScript_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
**Authors:** James Reed ([email protected]), Michael Suo ([email protected]), rev2
.. note:: TorchScript is no longer in active development.
.. warning:: TorchScript is no longer in active development.
This tutorial is an introduction to TorchScript, an intermediate
representation of a PyTorch model (subclass of ``nn.Module``) that
Expand Down
2 changes: 1 addition & 1 deletion beginner_source/deploy_seq2seq_hybrid_frontend_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
==================================================
**Author:** `Matthew Inkawhich <https://github.com/MatthewInkawhich>`_
.. note:: TorchScript is no longer in active development.
.. warning:: TorchScript is no longer in active development.
"""


Expand Down
2 changes: 1 addition & 1 deletion prototype_source/torchscript_freezing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Model Freezing in TorchScript
=============================
.. note:: TorchScript is no longer in active development.
.. warning:: TorchScript is no longer in active development.
In this tutorial, we introduce the syntax for *model freezing* in TorchScript.
Freezing is the process of inlining Pytorch module parameters and attributes
Expand Down
2 changes: 1 addition & 1 deletion recipes_source/distributed_optim_torchscript.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Distributed Optimizer with TorchScript support
==============================================================

.. note:: TorchScript is no longer in active development.
.. warning:: TorchScript is no longer in active development.

In this recipe, you will learn:

Expand Down
2 changes: 1 addition & 1 deletion recipes_source/torchscript_inference.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TorchScript for Deployment
==========================

.. note:: TorchScript is no longer in active development.
.. warning:: TorchScript is no longer in active development.

In this recipe, you will learn:

Expand Down

0 comments on commit 1428770

Please sign in to comment.