+
    –°³j  ã                   ó>   € ^ RI HtHt ^ RIt] ! R R]4      4       tR# )é    )ÚProtocolÚruntime_checkableNc                   óZ   a € ] tR t^t o RtV 3R lR ltV 3R lR ltV 3R lR ltRtV t	R	# )
Ú_Checkpointablea  
Interface for checkpointable objects.
Implemented as a protocol, implicit subtyping is supported so subclasses do not need to inherit this explicitly.
This is to allow arbitrary objects/tensor subclasses to hook into DCP seamlessly through implementing the interface.
c                ó<   <€ V ^8„  d   QhRS[ RS[RS[S[,          /# )é   ÚfqnÚobjectÚreturn)Ústrr
   Úlist)ÚformatÚ__classdict__s   "€Úb/home/luca/screen-checking/.venv/lib/python3.14/site-packages/torch/distributed/_checkpointable.pyÚ__annotate__Ú_Checkpointable.__annotate__   s&   ø€ ÷ 
ñ 
©#ð 
±vð 
Á$ÁvÅ,ñ 
ó    c                ó   € \        R4      h)z9
Return a list of WriteItems based on object's contents.
z6_Checkpointable._create_write_items is not implemented©ÚNotImplementedError)Úselfr	   r
   s   &&&r   Ú__create_write_items__Ú&_Checkpointable.__create_write_items__   s   € ô "ØDó
ð 	
r   c                ó0   <€ V ^8„  d   QhRS[ S[,          /# )r   r   )r   r
   )r   r   s   "€r   r   r      s   ø€ ÷ 
ñ 
¡t©F¥|ñ 
r   c                ó   € \        R4      h)zE
Return a list of `ChunkStorageMetadata` based on object's contents.
z5_Checkpointable._create_chunk_list is not implementedr   )r   s   &r   Ú__create_chunk_list__Ú%_Checkpointable.__create_chunk_list__   s   € ô "ØCó
ð 	
r   c                ó:   <€ V ^8„  d   QhRS[ RS[P                  /# )r   Úindexr   )ÚintÚtorchÚTensor)r   r   s   "€r   r   r      s   ø€ ÷ 
ñ 
©#ð 
±%·,±,ñ 
r   c                ó   € \        R4      h)z9
Return a 'torch.Tensor' shard based on 'MetadataIndex'.
z4_Checkpointable._get_tensor_shard is not implementedr   )r   r   s   &&r   Ú__get_tensor_shard__Ú$_Checkpointable.__get_tensor_shard__   s   € ô "ØBó
ð 	
r   © N)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r$   Ú__static_attributes__Ú__classdictcell__)r   s   @r   r   r      s(   ø‡ € ñ÷
ð 
÷
ð 
÷
ö 
r   r   )Útyping_extensionsr   r   r!   r   r&   r   r   Ú<module>r/      s&   ðç 9ã ð ô
�hó 
ó ò
r   