We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73a156e commit c73095eCopy full SHA for c73095e
docs/source/notes/serialization.rst
@@ -32,3 +32,9 @@ Then later::
32
However in this case, the serialized data is bound to the specific classes
33
and the exact directory structure used, so it can break in various ways when
34
used in other projects, or after some serious refactors.
35
+
36
+.. note::
37
+ The 1.6 release of PyTorch switched ``torch.save`` to use a new
38
+ zipfile-based file format. ``torch.load`` still retains the ability to
39
+ load files in the old format. If for any reason you want ``torch.save``
40
+ to use the old format, pass the kwarg ``_use_new_zipfile_serialization=False``.
0 commit comments