You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: intermediate_source/FSDP_tutorial.rst
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,9 @@ We add the following code snippets to a python script “FSDP_mnist.py”.
62
62
63
63
1.2 Import necessary packages
64
64
65
+
.. note::
66
+
This tutorial is intended for pytorch versions 1.12 and later. If you are using 1.11 or earlier, replace all instances of `size_based_auto_wrap_policy` with `default_auto_wrap_policy`.
67
+
65
68
.. code-block:: python
66
69
67
70
# Based on: https://github.com/pytorch/examples/blob/master/mnist/main.py
0 commit comments