+
    –°³j%  ã                   ób   € ^ RI HtHt ^ RIHtHt RR.t] ! R R]4      4       t]! R]R7      tR# )é    )ÚAnyÚTypeVar)ÚProtocolÚruntime_checkableÚStatefulÚ	StatefulTc                   óH   a € ] tR t^t o RtV 3R lR ltV 3R lR ltRtV tR# )r   zF
Stateful protocol for objects that can be checkpointed and restored.
c                ó6   <€ V ^8„  d   QhRS[ S[S[3,          /# )é   Úreturn©ÚdictÚstrr   )ÚformatÚ__classdict__s   "€Úf/home/luca/screen-checking/.venv/lib/python3.14/site-packages/torch/distributed/checkpoint/stateful.pyÚ__annotate__ÚStateful.__annotate__   s   ø€ ÷ ñ ™D¡¡c �Nñ ó    c                ó   € R# )ai  
Objects should return their state_dict representation as a dictionary.
The output of this function will be checkpointed, and later restored in
`load_state_dict()`.

.. warning::
    Because of the inplace nature of restoring a checkpoint, this function
    is also called during `torch.distributed.checkpoint.load`.


Returns:
    Dict: The objects state dict
N© )Úselfs   &r   Ú
state_dictÚStateful.state_dict   s   € ñ 	r   c                ó:   <€ V ^8„  d   QhRS[ S[S[3,          RR/# )r   r   r   Nr   )r   r   s   "€r   r   r      s#   ø€ ÷ ñ ©$©s±C¨x­.ð ¸Tñ r   c                ó   € R# )zp
Restore the object's state from the provided state_dict.

Args:
    state_dict: The state dict to restore from
Nr   )r   r   s   &&r   Úload_state_dictÚStateful.load_state_dict   s   € ñ 	r   r   N)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   Ú__static_attributes__Ú__classdictcell__)r   s   @r   r   r      s   ø‡ € ñ÷ð ÷"ö r   )ÚboundN)	Útypingr   r   Útyping_extensionsr   r   Ú__all__r   r   r   r   r   Ú<module>r*      sA   ðß ß 9ð �{Ð
#€ð ôˆxó ó ðñB �K xÔ0‚	r   