<p dir="auto">These aren't documented anywhere and it's unclear how they're different from <code class="notranslate">torch::save</code></p>
<p dir="auto">These APIs aren't going anywhere as far as I know, but <a href="https://pytorch.org/cppdocs/api/function_namespacetorch_1a55eb95ea00888978ee53f366ec875c62.html?highlight=pickle_save" rel="nofollow">they have no descriptions or usage instructions</a></p>
<p dir="auto">They have some documentation here but that's nowhere on the website:<br>
<a href="https://github.com/pytorch/pytorch/blob/master/torch/csrc/jit/serialization/pickle.h">https://github.com/pytorch/pytorch/blob/master/torch/csrc/jit/serialization/pickle.h</a></p>
<p dir="auto">And some usages are in the tests but aren't very user-discoverable:</p>
<ul dir="auto">
<li><a href="https://github.com/pytorch/pytorch/blob/master/test/cpp/api/jit.cpp#L120">https://github.com/pytorch/pytorch/blob/master/test/cpp/api/jit.cpp#L120</a></li>
<li><a href="https://github.com/pytorch/pytorch/blob/master/test/cpp/jit/test_save_load.cpp#L121">https://github.com/pytorch/pytorch/blob/master/test/cpp/jit/test_save_load.cpp#L121</a></li>
<li><a href="https://github.com/pytorch/pytorch/blob/master/test/cpp/jit/torch_python_test.cpp#L44-L54">https://github.com/pytorch/pytorch/blob/master/test/cpp/jit/torch_python_test.cpp#L44-L54</a></li>
</ul>
<p dir="auto">Tagging the JIT team to see if there are any plans for these APIs</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gmagogsfm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gmagogsfm">@gmagogsfm</a></p>