+
    "Ý³jV  ã                   óV   € ^ RI t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RItR R ltR tR t	R# )é    Nc                ó$   € V ^8„  d   QhR\         /# )é   Úreturn)Ústr)Úformats   "ÚV/home/luca/screen-checking/.venv/lib/python3.14/site-packages/torchao/_models/utils.pyÚ__annotate__r	      s   € ÷ "ñ "”sñ "ó    c                  ó°   € \         P                  P                  4       '       d   \         P                  P                  4       # \        P
                  ! 4       # )N)ÚtorchÚcudaÚis_availableÚget_device_nameÚplatformÚmachine© r
   r   Úget_arch_namer      s9   € Ü‡z�z×Ñ× Ò Ü�z‰z×)Ñ)Ó+Ð+ô ×ÒÓ!Ð!r
   c                ó  € \        V4       UUu/ uF  w  r4W,          VbK  	  pppRRRRRRVR,          RRVR,          R	VR	,          R
VR
,          RVR,          //RRVR,          RRRR./RRVR,          RVR,          .RVR,          //p\        \        P                  P	                  V 4      ^ ,           R2R4      ;_uu_ 4       p\        \        P                  ! V4      VR7       RRR4       R# u uppi   + '       g   i     R# ; i)a9  
Write the result into JSON format, so that it can be uploaded to the benchmark database
to be displayed on OSS dashboard. The JSON format is defined at
https://github.com/pytorch/pytorch/wiki/How-to-integrate-with-PyTorch-OSS-benchmark-database

OSS CI version, that will leave many fields to be filled in by CI
Ú	benchmarkÚnameúTorchAO benchmarkÚmodeÚ	inferenceÚdtypeÚ
extra_infoÚdeviceÚarchÚmin_sqnrÚcompileÚmodelÚtypeÚoriginsÚtorchaoÚmetricÚbenchmark_valuesÚactualÚtarget_valueÚtargetú.jsonÚa©ÚfileN)Ú	enumerateÚopenÚosÚpathÚsplitextÚprintÚjsonÚdumps)Úoutput_json_pathÚheadersÚrowÚiÚvÚmapping_headersÚrecordÚfs   &&&     r   Úwrite_json_result_osscir=      s   € ô 2;¸3´Ô@±©¨�w•z 1’}±€OÑ@àØÐ'Ø�KØ�_ WÕ-ØØ˜/¨(Õ3Ø˜¨Õ/Ø˜O¨JÕ7à˜?¨9Õ5ðð	
ð 	Ø�O FÕ+Ø�GØ˜	�{ð
ð
 	Ø�O HÕ-Ø °Õ!:Ð ;Ø˜O¨HÕ5ð
ð%€Fô2 
”—‘×!Ñ!Ð"2Ó3°AÕ6Ð7°uÐ=¸s×	CÔ	CÀqÜŒd�jŠj˜Ó  qÕ)÷ 
DÑ	Cùó5 A÷4 
D×	CÐ	Cús   �C2Ã"C8Ã8D		c           #     óÜ  € \        V4       UUu/ uF  w  r4W,          VbK  	  ppp\        P                  P                  4       p\        P
                  ! \        V4      P                  R4      4      P                  4       p\        P                  P                  V\        P                  P                  4      p\        VP                  4       4      p	V	^,           p
R\        \        P                  ! 4       4      RRRRRRR	R
RVRV	R^RV
RRRRRRVR,          RRVR,          RVR,          RVR,          RVR,          //RRVR,          RRRR./RRVR,          RVR,          .R VR!,          //p\        \        P                   P#                  V 4      ^ ,           R"2R#4      ;_uu_ 4       p\%        \&        P(                  ! V4      VR$7       R%R%R%4       R%# u uppi   + '       g   i     R%# ; i)&aI  
Write the result into JSON format, so that it can be uploaded to the benchmark database
to be displayed on OSS dashboard. The JSON format is defined at
https://github.com/pytorch/pytorch/wiki/How-to-integrate-with-PyTorch-OSS-benchmark-database

Local version (filling in dummy values for fields that should be populated by CI)
zutf-8Ú	timestampÚschema_versionÚv3r   zdevvm local benchmarkÚrepoz
pytorch/aoÚhead_branchÚmainÚhead_shaÚworkflow_idÚrun_attemptÚjob_idr   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   N)r-   ÚdatetimeÚdateÚtodayÚhashlibÚsha256r   ÚencodeÚ	hexdigestÚcombineÚtimeÚminÚintr?   r.   r/   r0   r1   r2   r3   r4   )r5   r6   r7   r8   r9   r:   rK   Úsha_hashÚfirst_secondrF   rH   r;   r<   s   &&&          r   Úwrite_json_result_localrV   >   sÒ  € ô 2;¸3´Ô@±©¨�w•z 1’}±€OÑ@Ü�M‰M×ÑÓ!€EÜ�~Š~œc %›j×/Ñ/°Ó8Ó9×CÑCÓE€HÜ×$Ñ$×,Ñ,¨U´H·M±M×4EÑ4EÓF€LÜ�l×,Ñ,Ó.Ó/€KØ˜1�_€Fà”SœŸš›Ó%Ø˜$ØÐ'Ø�Ø�vØ�HØ�{Ø�qØ�&ØØÐ'Ø�KØ�_ WÕ-ØØ˜/¨(Õ3Ø˜¨Õ/Ø˜O¨JÕ7à˜?¨9Õ5ðð	
ð 	Ø�O FÕ+Ø�GØ˜	�{ð
ð
 	Ø�O HÕ-Ø °Õ!:Ð ;Ø˜O¨HÕ5ð
ð7 €FôD 
”—‘×!Ñ!Ð"2Ó3°AÕ6Ð7°uÐ=¸s×	CÔ	CÀqÜŒd�jŠj˜Ó  qÕ)÷ 
DÑ	CùóQ A÷P 
D×	CÐ	Cús   �GÆ("GÇG+	)
rI   rL   r3   r/   r   rQ   r   r   r=   rV   r   r
   r   Ú<module>rW      s,   ðó Û Û Û 	Û Û ã õ"ò#*ôL1*r
   