Unverified Commit 863e904e authored by Nicolas Hug's avatar Nicolas Hug Committed by GitHub
Browse files

Fix note about model serialization BC guarantee (#4363)

parent 28f6978b
...@@ -9,10 +9,10 @@ keypoint detection and video classification. ...@@ -9,10 +9,10 @@ keypoint detection and video classification.
.. note :: .. note ::
Backward compatibility is guaranteed for loading a serialized Backward compatibility is guaranteed for loading a serialized
`state_dict` to the model created using old PyTorch version. ``state_dict`` to the model created using old PyTorch version.
On the contrary, loading entire saved models or serialized On the contrary, loading entire saved models or serialized
`ScriptModules` (seralized using older versions of PyTorch) ``ScriptModules`` (seralized using older versions of PyTorch)
will preserve the historic behaviour. Refer to the following may not preserve the historic behaviour. Refer to the following
`documentation `documentation
<https://pytorch.org/docs/stable/notes/serialization.html#id6>`_ <https://pytorch.org/docs/stable/notes/serialization.html#id6>`_
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment