+
    –°³jè  ã                   óú   a € R t0 t ^ RIt^ RIHt ^ RIHt ^ RIHt ^ RIt^ RI	H
t
 ^ RIHtHtHtHt . t] ^ k ] ! R R4      4       t]
P$                  ! ].4        ! R R	4      t]]3R
 R lltRRR/R R llltR# )é    N)Ú	dataclass©ÚBufferedIOBase)ÚAny)Ú_loadÚ_saveÚDEFAULT_PROTOCOLÚMAP_LOCATIONc                   ó,   a € ] tR t^t o V 3R ltRtV tR# )Ú_Entryc                ó>   <€ V ^8„  d   Qh/ S[ ;R&   S[;R&   S[;R&   # )é   ÚkeyÚ
is_storageÚlength)ÚstrÚboolÚint)ÚformatÚ__classdict__s   "€Úa/home/luca/screen-checking/.venv/lib/python3.14/site-packages/torch/distributed/_serialization.pyÚ__annotate__Ú_Entry.__annotate__   s(   ø‡ ‚ á	�Hñ ñ Ññ ñ �Kò	 ó    © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__©r   s   @r   r   r      s   ø‡ ‡ „ r   r   c                   ó°   a € ] tR t^t o V 3R lR ltV 3R lR ltV 3R lR ltV 3R lR ltV 3R	 lR
 l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# )Ú_PseudoZipFilec                ó   <€ V ^8„  d   QhRR/# )r   ÚreturnNr   )r   r   s   "€r   r   Ú_PseudoZipFile.__annotate__   s   ø€ ÷ 9ñ 9˜$ñ 9r   c                ó   € / V n         R # ©N©Úrecords©Úselfs   &r   Ú__init__Ú_PseudoZipFile.__init__   s	   € Ø68ˆŽr   c                ó0   <€ V ^8„  d   QhRS[ RS[RS[RR/# )r   r   Údatar   r'   N)r   Úobjectr   )r   r   s   "€r   r   r(      s)   ø€ ÷ +ñ +¡ð +©6ð +¹3ð +À4ñ +r   c                ó&   € W#3V P                   V&   R # r*   r+   )r.   r   r2   r   s   &&&&r   Úwrite_recordÚ_PseudoZipFile.write_record   s   € Ø!˜Nˆ�‰�SÓr   c                ó$   <€ V ^8„  d   QhRS[ RR/# ©r   Úfr'   Nr   )r   r   s   "€r   r   r(      s   ø€ ÷ ?ñ ?™.ð ?¨Tñ ?r   c           
     ó–  € . pV P                   P                  4        F=  w  pw  rEVP                  \        V\	        V\
        P                  4      VR 7      4       K?  	  \        P                  ! W!\        R7       V P                   P                  4        F±  w  rF\	        V\        4      '       d   VP                  V4       K.  \	        V\        4      '       d#   VP                  VP                  R4      4       Kf  \	        V\
        P                  4      '       d   VP                  VRR^4       Kœ  \!        R\#        V4       24      h	  R# ))r   r   r   )Úprotocolúutf-8Fzunknown type: N)r,   ÚitemsÚappendr   Ú
isinstanceÚtorchÚUntypedStorageÚpickleÚdumpr	   ÚvaluesÚbytesÚwriter   ÚencodeÚ_write_fileÚ	TypeErrorÚtype)r.   r9   Úentriesr   r2   r   Ú_s   &&     r   Úwrite_toÚ_PseudoZipFile.write_to   sð   € ØˆØ#'§<¡<×#5Ñ#5Ö#7ÑˆC‘�$Ø�N‰NÜØÜ)¨$´×0DÑ0DÓEØ!ôöñ $8ô 	�Š�GÔ)9Õ:à—|‘|×*Ñ*Ö,‰GˆDÜ˜$¤×&Ò&Ø—‘˜–Ü˜D¤#×&Ò&Ø—‘˜Ÿ™ GÓ,Ö-Ü˜D¤%×"6Ñ"6×7Ò7Ø× Ñ   E¨5°!Ö4ä .´°d³°Ð =Ó>Ð>ó -r   c                ó$   <€ V ^8„  d   QhRS[ RR/# r8   r   )r   r   s   "€r   r   r(   6   s   ø€ ÷ ?ñ ?™>ð ?¨dñ ?r   c                óì  € \         P                  ! V4      pV F×  pVP                  VP                  4      pVP                  '       d„   VP                  ^ 8X  d   \
        P                  ! ^ 4      pM4\
        P                  ! V\
        P                  R7      P                  4       pVVP                  3V P                  VP                  &   K³  WCP                  3V P                  VP                  &   KÙ  	  R# )r   ©ÚdtypeN)Ú_weights_only_unpicklerÚloadÚreadr   r   r@   rA   Ú
frombufferÚuint8Úuntyped_storager,   r   )r.   r9   rK   Úentryr2   Ústorages   &&    r   Ú	read_fromÚ_PseudoZipFile.read_from6   s¸   € Ü)×.Ò.¨qÓ1ˆãˆEØ—6‘6˜%Ÿ,™,Ó'ˆDØ××ÐØ—<‘< 1Ô$Ü#×2Ò2°1Ó5‘Gä#×.Ò.ØÜ#Ÿk™kô÷ &‘oÓ'ð ð Ø—L‘Lð+�—‘˜UŸY™YÓ'ð
 ,0·±Ð*>�—‘˜UŸY™YÓ'ó! r   c                ó&   <€ V ^8„  d   QhRS[ RS[/# ©r   r   r'   )r   r   )r   r   s   "€r   r   r(   K   s   ø€ ÷ #ñ #™cð #¡dñ #r   c                ó   € WP                   9   # r*   r+   ©r.   r   s   &&r   Ú
has_recordÚ_PseudoZipFile.has_recordK   s   € Ø—l‘lÑ"Ð"r   c                ó&   <€ V ^8„  d   QhRS[ RS[/# r^   )r   r3   )r   r   s   "€r   r   r(   N   s   ø€ ÷ $ñ $™cð $¡fñ $r   c                ó6   € V P                   V,          ^ ,          # )r   r+   r`   s   &&r   Ú
get_recordÚ_PseudoZipFile.get_recordN   s   € Ø�|‰|˜CÕ  Õ#Ð#r   c                óF   <€ V ^8„  d   QhRS[ RS[RS[RS[P                  /# )r   r   Ú_lengthÚ_typer'   )r   r   r@   ÚTensor)r   r   s   "€r   r   r(   Q   s7   ø€ ÷ Eñ EÙðEÙ!$ðEÙ-0ðEá	�‰ñEr   c                ó~   € \         P                  ! V P                  V,          ^ ,          \         P                  R7      # )r   rQ   )r@   Útensorr,   rW   )r.   r   rh   ri   s   &&&&r   Úget_storage_from_recordÚ&_PseudoZipFile.get_storage_from_recordQ   s'   € ô �|Š|˜DŸL™L¨Õ-¨aÕ0¼¿¹ÔDÐDr   c                ó    <€ V ^8„  d   QhRS[ /# )r   r'   )r   )r   r   s   "€r   r   r(   V   s   ø€ ÷ ñ ¡#ñ r   c                ó   € R # )Útorchftr   r-   s   &r   Úserialization_idÚ_PseudoZipFile.serialization_idV   s   € Ùr   r+   N)r   r   r   r   r/   r5   rM   r[   ra   re   rm   rr   r!   r"   r#   s   @r   r%   r%      sW   ø‡ € ÷9ð 9÷+ð +÷?ð ?÷.?ð ?÷*#ð #÷$ð $÷Eð E÷
ö r   r%   c          
      óL   € V ^8„  d   QhR\         R\        R\        R\        RR/# )r   Úobjr9   Úpickle_moduleÚpickle_protocolr'   N)r3   r   r   r   )r   s   "r   r   r   Z   s:   € ÷ ñ Ü	ðäðô ðô ð	ð
 
ñr   c                ó\   € \        4       p\        V VVVRR7       VP                  V4       R# )a  
Save the object to a file-like object in a streaming fashion compatible with
network sockets.

This behaves similarly to :func:`torch.save` with a few notable differences:

* A non-seekable file like object can be used when loading.
* No forwards/backwards compatibility is provided for the serialization
  format. This is only intended to be used with a single version of PyTorch
  with transient storage (i.e. sockets or temp files).
* mmap is not supported

See :func:`torch.save` for more details on specific arguments.
F)Úzip_filerv   rw   Ú_disable_byteorder_recordN)r%   r   rM   )ru   r9   rv   rw   ry   s   &&&& r   Ú_streaming_saver{   Z   s3   € ô* Ó€HÜ	ØØØ#Ø'Ø"'õð ×Ñ�aÖr   Úweights_onlyTc                ó`   € V ^8„  d   QhR\         R\        R\        R\        R\        R\        /# )r   r9   Úmap_locationrv   r|   Úpickle_load_argsr'   )r   r
   r   r   r3   )r   s   "r   r   r   z   sD   € ÷ $ñ $Üð$äð$ô ð$ô
 ð$ô ð$ô ñ$r   c          	     óÂ   € V'       d   Ve   \        R4      h\        pM
Vf   \        pRV9  d   RVR&   \        4       pVP	                  V 4       \        RRVRVRV/VB # )zí
Load the object from a file-like object in a streaming fashion compatible with
network sockets.

See :func:`_streaming_save` for more details about the streaming behavior.

See :func:`torch.load` for more details on specific arguments.
zDCan not safely load weights when explicit pickle_module is specifiedÚencodingr<   ry   r~   rv   r   )ÚRuntimeErrorrS   rB   r%   r[   r   )r9   r~   rv   r|   r   ry   s   &&&$, r   Ú_streaming_loadrƒ   z   sŠ   € ÷  ØÒ$ÜØVóð ô 0‰àÒ Ü"ˆMàÐ)Ô)Ø'.Ð˜Ñ$äÓ€HØ×Ñ�qÔÜñ Øðà!ðð $ðð ñ	ð r   c                óV   € V ^8„  d   Qh/ ^ \         9   d   \        \        ,          ;R&   # )r   Ú__all__)Ú__conditional_annotations__Úlistr   )r   s   "r   r   r      s   € ‡�÷ Ò ŒŒc�Ñ ò r   )NN)r†   rB   Údataclassesr   Úior   Útypingr   r@   Útorch._weights_only_unpicklerrS   Útorch.serializationr   r   r	   r
   r…   r   Ú_add_safe_globalsr%   r{   rƒ   r   )r†   s   @r   Ú<module>rŽ      s‚   øðß €Ý !Ý Ý ã Ý ?ß LÓ Lð €Ó ð ÷ð ó ðð × )Ò )¨6¨(Ô 3÷?ñ ?ðJ  Ø+÷	ñ@$ð
 ÷$ò $r   