Skip to content

Commit 1428770

Browse files
authored
Change torchscript maintenance from note to warning (#3169)
This changes the TorchScript notes to warnings because we want people to move away from TorchScript and not being under maintenance is scary
1 parent 3ba3a46 commit 1428770

8 files changed

+8
-8
lines changed

advanced_source/cpp_export.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Loading a TorchScript Model in C++
22
=====================================
33

4-
.. note:: TorchScript is no longer in active development.
4+
.. warning:: TorchScript is no longer in active development.
55

66
As its name suggests, the primary interface to PyTorch is the Python
77
programming language. While Python is a suitable and preferred language for

advanced_source/torch-script-parallelism.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Dynamic Parallelism in TorchScript
22
==================================
33

4-
.. note:: TorchScript is no longer in active development.
4+
.. warning:: TorchScript is no longer in active development.
55

66
In this tutorial, we introduce the syntax for doing *dynamic inter-op parallelism*
77
in TorchScript. This parallelism has the following properties:

advanced_source/torch_script_custom_classes.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Extending TorchScript with Custom C++ Classes
22
===============================================
33

4-
.. note:: TorchScript is no longer in active development.
4+
.. warning:: TorchScript is no longer in active development.
55

66
This tutorial is a follow-on to the
77
:doc:`custom operator <torch_script_custom_ops>`

beginner_source/Intro_to_TorchScript_tutorial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
**Authors:** James Reed ([email protected]), Michael Suo ([email protected]), rev2
66
7-
.. note:: TorchScript is no longer in active development.
7+
.. warning:: TorchScript is no longer in active development.
88
99
This tutorial is an introduction to TorchScript, an intermediate
1010
representation of a PyTorch model (subclass of ``nn.Module``) that

beginner_source/deploy_seq2seq_hybrid_frontend_tutorial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
==================================================
55
**Author:** `Matthew Inkawhich <https://github.com/MatthewInkawhich>`_
66
7-
.. note:: TorchScript is no longer in active development.
7+
.. warning:: TorchScript is no longer in active development.
88
"""
99

1010

prototype_source/torchscript_freezing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Model Freezing in TorchScript
33
=============================
44
5-
.. note:: TorchScript is no longer in active development.
5+
.. warning:: TorchScript is no longer in active development.
66
77
In this tutorial, we introduce the syntax for *model freezing* in TorchScript.
88
Freezing is the process of inlining Pytorch module parameters and attributes

recipes_source/distributed_optim_torchscript.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Distributed Optimizer with TorchScript support
22
==============================================================
33

4-
.. note:: TorchScript is no longer in active development.
4+
.. warning:: TorchScript is no longer in active development.
55

66
In this recipe, you will learn:
77

recipes_source/torchscript_inference.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
TorchScript for Deployment
22
==========================
33

4-
.. note:: TorchScript is no longer in active development.
4+
.. warning:: TorchScript is no longer in active development.
55

66
In this recipe, you will learn:
77

0 commit comments

Comments
 (0)