Skip to content

Commit 95b8e68

Browse files
committed
small doc update
1 parent a878b33 commit 95b8e68

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎docs/source/user-guide/strategies.rst‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,13 @@ The minimal file contains only the signature and one model state per member, so
5353

5454
The ``_full`` file additionally stores a ``training_state`` mapping with:
5555
* ``epochs``: completed-epoch count per member;
56-
* ``optimizer_signature``, ``epoch_scheduler_signature``, and ``warmup_scheduler_signature``: component types shared by every member (``warmup_scheduler_signature`` is ``None`` when warm-up is disabled);
56+
* ``optimizer_signature``: the ``trainer.optimizer`` signature shared by every member;
57+
* ``scheduler_signature``: the ``trainer.lr_scheduler`` signature and ``trainer.lr_warmup`` flag shared by every member;
5758
* ``optimizer_states``, ``epoch_scheduler_states``, and ``warmup_scheduler_states``: one component state per member.
5859

59-
For multi-model strategies each checkpoint saving also produces one minimal/full checkpoint pair per member, named ``checkpoints/checkpoint_<epoch>_member_<member>.pth`` and ``checkpoints/checkpoint_<epoch>_member_<member>_full.pth``.
60+
Periodic saves write a combined snapshot of the strategy's model and training states, plus its ``_full`` sibling, under ``checkpoints/``. In ``checkpoint_<epoch>_member_<member>.pth``, ``<member>`` identifies the member being trained at that save; the checkpoint is not a separate export for that member.
61+
62+
When ``Checkpointer.save()`` writes the final checkpoint, multi-model strategies also produce one minimal/full pair per member under ``models/``, named ``final_member_<member>.pth`` and ``final_member_<member>_full.pth``.
6063

6164
Model-specific data and encodings
6265
---------------------------------

0 commit comments

Comments
 (0)