Ë
    g^(hþ‰ ã                   ó²  — U d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZddlmZmZmZmZmZmZmZmZ ddlmZ erddlm Z  dejB                  fd„Z"dd	l#m$Z%m&Z&m'Z' dd
l(m)Z)m*Z*m+Z+m,Z,  e"«       rdZ-es$ddlZej\                  Z/e/e_0        nddlm0Z/ ddl1m-Z- g d¢Z2e2 e3e2«      k(  sJ ‚e	j                  dk(  rdÒd„Z4 e4«        [4de5de5de5de6e5   fd„Z7de5de5ddfd„Z8dÒd„Z9e,s ejt                  d«      rn e"«       s ejv                  «       dk7  rS e	jx                  «       Z= e	j|                  ej~                  ej€                  z  «       ddlA­  e	j|                  e=«       [=ne+r e9«        ddlA­  G d„ d«      ZB G d„ d«      ZC G d„ d«      ZDd „ ZEd!„ ZFd"„ ZGd#„ ZHdeIeIeJd$f   eIeJd$f   f   fd%„ZKd&„ ZLd'„ ZMd(„ ZNd)\  ZOZPZQd*D ]'  ZPd+eP› �ZQ eNeP«      ZOeQxeO_R        eO_S        eO eT«       eQ<   Œ) [O[P[Q[N eT«       d,   ZUe2j­                  d-«       d.„ ZWd/„ ZX	 dd0lAmYZY dd2l`m[Z[ d3\  ZPZa ebe[«      D ]‰  ZPePd   d4k7  rcePjÇ                  d5«      sRe2j­                  eP«        ede[eP«      Za eeea«      s ejÌ                  ea«      sŒQeajÎ                  eSk7  sŒaePd6vsŒfeSea_g        ŒnePd7k(  sŒt ehe	jÒ                  eS   eP«       Œ‹ [P[aesdÓd8„Zj eje[«       [jd9ede5fd:„Zkd9ede/d;   fd<„Zld9ede/ed=      fd>„Zm ejÜ                  «       aodÔd@„ZpdAeed?e5ejâ                  f      ddfdB„ZrdCeeJd;   e5f   ddfdD„ZsdÕdE„ZtdFdGœdHejB                  dIejB                  ddfdJ„ZudejB                  fdK„ZvdejB                  fdL„ZwdMeejâ                  e5f   ddfdN„Zxdejâ                  fdO„Zyde5fdP„ZzdQe5ddfdR„Z{dSejB                  ddfdT„Z|dejB                  fdU„Z}dVeejB                  eDf   dWeg e5f   fdX„Z~dÓdY„ZdÓddZœd[„Z€dÓd\„Z�dÓd]„Z‚dÓd^„ZƒdÓd_„Z„dÓd`„Z…dÓda„Z†ddblm‡Z‡mˆZˆm‰Z‰mŠZŠ dZ‹deŒdc<   e2�j                  g dd¢«       ddelŽm�Z� ddfl`m�Z� ddgl‘m’Z’m“Z“m”Z”m•Z•m–Z–  G dh„ die’«      Z— G dj„ dke’«      Z˜ G dl„ dme’«      Z™ G dn„ doe’«      Zš G dp„ dqe’«      Z› G dr„ dse’«      Zœ G dt„ due’«      Z� G dv„ dwe’«      Zž G dx„ dye’«      ZŸ G dz„ d{e’«      Z  G d|„ d}e’«      Z¡ G d~„ de’«      Z¢ G d€„ d�e’«      Z£ G d‚„ dƒe’«      Z¤ G d„„ d…e’«      Z¥ G d†„ d‡e’«      Z¦ G dˆ„ d‰e’«      Z§e–e˜e™e›eœe�eže—ešeŸe£e¤e¥e e¢e¡e¦e§e•hZ¨e©eJee•e–f         eŒdŠ<    e©«       Zªe©eJd;      eŒd‹<   ddŒl`m«Z«m¬Z¬m­Z­ dd�l®m¯Z¯ ddŽl°m±Z±m²Z² dd�l³m´Z´mµZµm¶Z¶m·Z·m¸Z¸ dd�l¹mºZºm»Z» d‘„ Z¼ e[j²                   e¼«       «       [¼erddl½­ e¾Z¿[¾d’ZÀd3\  ZPZa ebe[�j‚                  «      D ]v  ZPeP�j…                  d“«      sePeÀv rŒ ede[�j‚                  eP«      ZaeSea_g        ePd”k(  rea eT«       eP<   d4ePz   ZPea eT«       eP<   eP�j…                  d4«      rŒfe2j­                  eP«       Œx [P[addl`Z`e2�j                  d•„  ebe`«      D «       «       dd–lÃmÄZÄ dd—l`mÅZÅmÆZÆ ddlÇ­ [“[’d˜„ ZÈdd™lÉmÊZÊmËZËmÌZÌmÍZÍ ddšl`mÎZÎmÏZÏmÐZÐmÑZÑmÒZÒmÓZÓmÔZÔmÕZÕmÖZÖm×Z×mØZØmÙZÙmÚZÚmÛZÛmÜZÜmÝZÝmÞZÞmßZßmàZàmáZámâZâmãZãmäZämåZåmæZæmçZçmZmèZèméZé dd›lêmëZë ddœl`mìZì ddlíZ`ddlîZ`ddlïZ`ddlðZ` e[�jâ                   e6e¨«      «       dd�l`mòZòmóZómôZômõZõ [õ[ô[ó[òdejB                  fdž„ZöddŸl`m÷Z÷møZø dd lùmúZú dd¡lûmüZü e	jÒ                  �jû                  eS› d¢�eú«       e	jÒ                  �jû                  eS› d£�eü«       dd¤l`mþZþ dd¥l`mÿZÿ �e �Zdd¦�l�m�Z  �ee`�j                  «       �[dd§�l�m�Z eú�j                  �j                  �Zeú�j                  �j                  �Z	dd¨l`�m
�Z
 dd©�l�m�Z�m�Z�m�Z�m�Z�m�Z ddª�l�m�Z�m�Z  G d«„ d¬«      �Z G d­„ d®«      �Z ed¯«      �Z ed°«      �ZedFdd±dddFd²œd³e�e�ef   d´ejB                  dµeejB                     d¶ee5ef   dHee5df   d·e�ee5ee5ejâ                  ejB                  f   f      d¸ejB                  de�e�ef   fd¹„«       �Ze	 dÓdFdd±dddFd²œd³dd´ejB                  dµeejB                     d¶ee5ef   dHee5df   d·e�ee5ee5ejâ                  ejB                  f   f      d¸ejB                  dee�e�ef   ge�e�ef   f   fdº„«       �Z	 dÓdFdd±dddFd²œd³ee   d´ejB                  dµeejB                     d¶ee5ef   dHee5df   d·e�ee5ee5ejâ                  ejB                  f   f      d¸ejB                  deee�e�ef   ge�e�ef   f   e�e�ef   f   fd»„�Zd¼„ �Zdd½l`�m�Z�m�Z�m�Z�m�Z dd¾�l �m!�Z!�m"�Z" dd¿�l#�m$�Z$ esddÀl`�m%�Z% dÁe�jL                  v rdd�l'mÕc �m(�Z)  �e)�jT                  «        dd�l+Z`ddÂl`�m,�Z, e`�j¦                  �jº                  �j[                  «         e"«       sddÃl`�m.�Z.  G dÄ„ dÅ«      �Z/e`�j¦                  �jº                  �j`                  e`�j¦                  �jª                  �j`                  e`�j¦                  �jb                  �jd                  e`�j¦                  �jf                  �jd                  dÆœ�Z4erddÇl`�m5�Z5�m6�Z6�m7�Z7�m8�Z8 n	h dÈ£�Z9dÉ„ �Z:dÓdAeee`�jv                  e5f      fdÊ„�Z<	 	 dÖdËeejâ                     dÌeejâ                     fdÍ„�Z=ddÎl`�m>�Z>  �e>�j~                  «        dÏ„ �Z@dejB                  fdÐ„�ZAdÑ„ �ZB �eA«       r	 �e@«        yy# eZ$ r; ddlAm[Z\ e\jº                  €' eZ e
j¼                  d1«      j¿                  «       «      d‚‚ w xY w)×a�  
The torch package contains data structures for multi-dimensional
tensors and defines mathematical operations over these tensors.
Additionally, it provides many utilities for efficient serialization of
Tensors and arbitrary types, and other useful utilities.

It has a CUDA counterpart, that enables you to run your tensor computations
on an NVIDIA GPU with compute capability >= 3.0.
é    N)ÚAnyÚCallableÚ
get_originÚOptionalÚoverloadÚTYPE_CHECKINGÚTypeVarÚUnion)Ú	ParamSpecé   )ÚIntLikeTypeÚreturnc                  óN   — t         j                  j                  dd «      t        u S )Nztorch._meta_registrations)ÚsysÚmodulesÚgetÚobject© ó    úL/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/torch/__init__.pyÚ_running_with_deployr   ,   s   € Ü�;‰;�?‰?Ð6¸Ó=ÄÐGÐGr   )Ú_functionalize_syncÚ_import_dotted_nameÚclassproperty)Úget_file_pathÚ#prepare_multiprocessing_environmentÚUSE_GLOBAL_DEPSÚUSE_RTLD_GLOBAL_WITH_LIBTORCHztorch-deploy-1.8)ÚTypeIs)Ú__version__)GÚBoolStorageÚ
BoolTensorÚByteStorageÚ
ByteTensorÚCharStorageÚ
CharTensorÚDoubleStorageÚDoubleTensorÚFloatStorageÚFloatTensorÚ
GradScalerÚ
IntStorageÚ	IntTensorÚLongStorageÚ
LongTensorÚShortStorageÚShortTensorÚSymBoolÚSymFloatÚSymIntÚTensorÚTypedStorageÚUntypedStorageÚ$are_deterministic_algorithms_enabledÚautocastÚchunkÚcompileÚcondÚenable_gradÚexportÚget_default_deviceÚget_deterministic_debug_modeÚget_device_moduleÚget_float32_matmul_precisionÚget_rng_stateÚinference_modeÚinitial_seedÚ-is_deterministic_algorithms_warn_only_enabledÚ
is_storageÚ	is_tensorÚis_warn_always_enabledÚloadÚlobpcgÚmanual_seedÚmatmulÚno_gradÚrandÚrandnÚsaveÚseedÚset_default_deviceÚset_default_tensor_typeÚset_deterministic_debug_modeÚset_float32_matmul_precisionÚset_printoptionsÚset_rng_stateÚset_warn_alwaysÚsplitÚstackÚ	sym_floatÚsym_fresh_sizeÚsym_intÚsym_iteÚsym_maxÚsym_minÚsym_notÚsym_sumÚtypenameÚunravel_indexÚuse_deterministic_algorithmsÚvmapÚwin32c            
      ó¦	  — dd l } ddlm} t        j                  dd«      }t        j
                  j                  t        j                  dd«      }t        j
                  j                  t        j
                  j                  t        «      d«      }t        j
                  j                  | j                  d«      dd«      }t        j                  t        j                  k7  r0t        j
                  j                  t        j                  dd«      }nd	}||||fD �cg c]#  }t        j
                  j                  |«      r|‘Œ% }}t        j                  d
„ |D «       «      sUt        j
                  j                  t        j                  dt        j
                  j                  |dd«      «      dd«      }	nd	}	|r�t        j                   d„ |D «       «      rq|j#                  dd«      }
d|
z   }t        j
                  j                  |ddd|› �«      }t        j
                  j                  t        j                  ||«      d«      }nd	}|j%                  d„ |	|fD «       «       t'        j(                  dd¬«      }t+        |d«      }|j-                  d«      }t&        j.                  |j0                  _        |rt&        j.                  |j4                  _        |D ]  }t        j6                  |«       Œ 	 t'        j8                  d«       t'        j8                  d«       t;        j<                  «       dk7  rt'        j8                  d«       tI        jH                  t        j
                  j                  |d!«      «      }d"}|D ]û  }d"}|rb|j5                  |d d#«      }t'        jJ                  «       }|€5|d$k7  r0t'        jL                  |«      }|xjN                  d%|› d&�z  c_'        |‚|�d}|rŒl|s9d'j                  |t        jP                  d(   gz   «      t        jP                  d(<   d}|j1                  |«      }|�Œ»t'        jL                  t'        jJ                  «       «      }|xjN                  d%|› d&�z  c_'        |‚ |j-                  |«       y c c}w # t>        $ r0 tA        tC        jD                  d «      jG                  «       «       Y �Œ„w xY w))Nr   ©ÚcudaÚProgramFileszC:\Program FilesÚLibraryÚbinÚlibÚuserbaseÚ c              3   ó–   K  — | ]A  }t         j                  j                  t         j                  j                  |d «      «      –— ŒC y­w)znvToolsExt64_1.dllN)ÚosÚpathÚexistsÚjoin©Ú.0Úps     r   ú	<genexpr>z&_load_dll_libraries.<locals>.<genexpr>¹   s2   è ø€ ò 
ØFGŒB�G‰G�N‰Nœ2Ÿ7™7Ÿ<™<¨Ð+?Ó@×Añ
ùs   ‚AA	ÚNVTOOLSEXT_PATHzNVIDIA CorporationÚ
NvToolsExtÚx64c              3   ó„   K  — | ]8  }t        j                   t        j                  j                  |d «      «       –— Œ: y­w)zcudart64*.dllN©Úglobrs   rt   rv   rw   s     r   rz   z&_load_dll_libraries.<locals>.<genexpr>Ç   s0   è ø€ ò )
Ø@A”—	‘	œ"Ÿ'™'Ÿ,™, q¨/Ó:Ó;Ô;ñ)
ùs   ‚>A ú.Ú_ÚCUDA_PATH_VzNVIDIA GPU Computing ToolkitÚCUDAÚvc              3   ó`   K  — | ]&  }t         j                  j                  |«      sŒ#|–— Œ( y ­w©N)rs   rt   ru   rw   s     r   rz   z&_load_dll_libraries.<locals>.<genexpr>Ó   s$   è ø€ ò 
Ø¼2¿7¹7¿>¹>È!Õ;LŒAñ
ùs   ‚$.§.zkernel32.dllT)Úuse_last_errorÚAddDllDirectoryr   zvcruntime140.dllzmsvcp140.dllÚARM64zvcruntime140_1.dllzâ
                    Microsoft Visual C++ Redistributable is not installed, this may lead to the DLL load failure.
                    It can be downloaded at https://aka.ms/vs/16/release/vc_redist.x64.exe
                    z*.dllFi   é~   z Error loading "z" or one of its dependencies.ú;ÚPATH))Ú	sysconfigÚtorch.versionrk   rs   Úgetenvrt   rv   r   Úexec_prefixÚdirnameÚ__file__Úget_config_varÚbase_exec_prefixru   ÚbuiltinsÚanyÚallÚreplaceÚextendÚctypesÚWinDLLÚhasattrÚSetErrorModeÚc_void_pÚLoadLibraryWÚrestypeÚLoadLibraryExWÚadd_dll_directoryÚCDLLÚplatformÚmachineÚOSErrorÚprintÚtextwrapÚdedentÚstripr€   Úget_last_errorÚWinErrorÚstrerrorÚenviron)rŽ   Úcuda_versionÚpfiles_pathÚpy_dll_pathÚth_dll_pathÚusebase_pathÚbase_py_dll_pathry   Ú	dll_pathsÚnvtoolsext_dll_pathÚcuda_version_1Úcuda_path_varÚdefault_pathÚ	cuda_pathÚkernel32Úwith_load_library_flagsÚprev_error_modeÚdll_pathÚdllsÚpath_patchedÚdllÚ	is_loadedÚresÚ
last_errorÚerrs                            r   Ú_load_dll_librariesrÇ   ž   s  € Ûå6ä—i‘i Ð0CÓDˆÜ—g‘g—l‘l¤3§?¡?°I¸uÓEˆÜ—g‘g—l‘l¤2§7¡7§?¡?´8Ó#<¸eÓDˆÜ—w‘w—|‘|Ø×$Ñ$ ZÓ0°)¸Uó
ˆô �?‰?œc×2Ñ2Ò2Ü!Ÿw™wŸ|™|¬C×,@Ñ,@À)ÈUÓSÑà!Ðð " ;Ð0@À,ÐOö
àÜ�w‰w�~‰~˜aÔ ò ð
ˆ	ð 
ô �|‰|ñ 
ØKTô
ô 
ô #%§'¡'§,¡,Ü—	‘	Ø%Ü—G‘G—L‘L Ð.BÀLÓQóð Øó#Ñð #%ÐáœHŸL™Lñ )
ØENô)
ô 
ð *×1Ñ1°#°sÓ;ˆNØ)¨NÑ:ˆMÜŸ7™7Ÿ<™<ØÐ;¸VÀqÈÈÐEWóˆLô Ÿ™Ÿ™¤R§Y¡Y¨}¸lÓ%KÈUÓS‰IàˆIà×Ññ 
Ø+¨YÐ7ô
ô 	
ô —=‘= ÀÔEˆÜ")¨(Ð4EÓ"FÐØ"×/Ñ/°Ó7ˆä(.¯©ˆ×ÑÔ%Ù"Ü.4¯o©oˆH×#Ñ#Ô+à!ò 	+ˆHÜ× Ñ  Õ*ð	+ð	Ü�K‰KÐ*Ô+Ü�K‰K˜Ô'Ü×ÑÓ! WÒ,Ü—‘Ð0Ô1ô �y‰yœŸ™Ÿ™ k°7Ó;Ó<ˆØˆØò 	ˆCØˆIÙ&Ø×-Ñ-¨c°4¸ÓD�Ü#×2Ñ2Ó4�
Ø�; :°Ò#4Ü Ÿ/™/¨*Ó5�CØ—L’LØ*¨3¨%Ð/LÐMñ•Lð �IØ�_Ø $�IÚÙ#Ø),¯©°)¼r¿z¹zÈ&Ñ?QÐ>RÑ2RÓ)S”B—J‘J˜vÑ&Ø#'�LØ×+Ñ+¨CÓ0�Ø‘;Ü Ÿ/™/¬&×*?Ñ*?Ó*AÓB�CØ—L’LØ*¨3¨%Ð/LÐMñ•Lð �Ið/	ð2 	×Ñ˜oÕ.ùòs
øôh ò 	ÜÜ—‘ðó÷
 ‘%“'÷ð	ús   Ä(RË5AR Ò5SÓSrt   Ú
lib_folderÚlib_namec           	      óâ   — t        j                   t        j                  j                  | d|d|«      «      }t        j                   t        j                  j                  | |d|«      «      }||z   S )NÚnvidiaro   r   )rt   rÈ   rÉ   Únvidia_lib_pathsÚ	lib_pathss        r   Ú_get_cuda_dep_pathsrÎ     sW   € ä—y‘yÜ
�‰�‰�T˜8 Z°¸ÓAóÐô —	‘	œ"Ÿ'™'Ÿ,™, t¨Z¸ÀÓIÓJ€Ià˜iÑ'Ð'r   c                 ó  — t        j                  «       dk(  sJ d«       ‚d}t        j                  D ]  }t	        || |«      }|sŒ|d   } n |st        |› dt        j                  › �«      ‚t        j                  |«       y)z8Preloads cuda deps if they could not be found otherwise.ÚLinuxzShould only be called on LinuxNr   z not found in the system path )r¥   Úsystemr   rt   rÎ   Ú
ValueErrorr›   r¤   )rÈ   rÉ   Úlib_pathrt   Úcandidate_lib_pathss        r   Ú_preload_cuda_depsrÕ     s‚   € ô �?‰?Ó Ò'ÐIÐ)IÓIÐ'à€HÜ—‘ò ˆÜ1°$¸
ÀHÓMÐÚØ*¨1Ñ-ˆHÙð	ñ
 Ü˜H˜:Ð%CÄCÇHÁHÀ:ÐNÓOÐOÜ
‡K�K�Õr   c                  ó&  — t        «       st        j                  «       dk(  ry t        j                  «       dk(  rdnd} d| › �}t        j                  j                  t        «      }t        j                  j                  t        j                  j                  |«      d|«      }	 t        j                  |t        j                  ¬«       	 t        d«      5 }|j                  «       }d d d «       d	vry t        d
d«       t        dd«       y # 1 sw Y   Œ'xY w# t        $ r Y y w xY w# t         $ rß}ddlm} ddddddddddddddœ}|�)|j'                  d«      }	t)        |	d   «      }
|
dk\  rd|d<   |j+                  «       D �cg c](  }|j'                  d«      d   |j,                  d   v sŒ'|‘Œ* nc c}w }}|s|‚|j/                  «       D ]  \  }}t        ||«       Œ t        j                  |t        j                  ¬«       Y d }~y d }~ww xY w) NÚWindowsÚDarwinz.dylibz.soÚlibtorch_global_depsro   )Úmodez/proc/self/mapsz$nvidia/cuda_runtime/lib/libcudart.soÚ
cuda_nvrtczlibnvrtc.so.*[0-9]Ú	nvjitlinkzlibnvJitLink.so.*[0-9]r   rj   zlibcublas.so.*[0-9]zlibcudnn.so.*[0-9]zlibcudart.so.*[0-9]zlibcupti.so.*[0-9]zlibcufft.so.*[0-9]zlibcurand.so.*[0-9]zlibcusparse.so.*[0-9]zlibcusparseLt.so.*[0-9]zlibcusolver.so.*[0-9]zlibnccl.so.*[0-9]zlibnvToolsExt.so.*[0-9])ÚcublasÚcudnnrÛ   Úcuda_runtimeÚ
cuda_cuptiÚcufftÚcurandrÜ   ÚcusparseÚ
cusparseltÚcusolverÚncclÚnvtxr�   é   zlibcufile.so.*[0-9]Úcufile)r   r¥   rÑ   rs   rt   Úabspathr“   rv   r’   r›   r¤   ÚRTLD_GLOBALÚopenÚreadrÕ   Ú	Exceptionr§   r�   rk   rZ   ÚintÚvaluesÚargsÚitems)Úlib_extrÉ   ÚhereÚglobal_deps_lib_pathÚfÚ_mapsrÆ   r°   Ú	cuda_libsÚ	t_versionÚt_majorro   Úis_cuda_lib_errrÈ   s                 r   Ú_load_global_depsrü   -  s  € ÜÔ¤§¡Ó!2°iÒ!?Øô #Ÿ/™/Ó+¨xÒ7‰h¸U€GØ% g YÐ/€HÜ�7‰7�?‰?œ8Ó$€DÜŸ7™7Ÿ<™<¬¯©¯©¸Ó(=¸uÀhÓOÐð8CÜ�‰Ð(¬v×/AÑ/AÕBð	ÜÐ'Ó(ð !¨AØŸ™›�÷!ð 6¸UÑBØô ˜|Ð-AÔBÜ˜{Ð,DÕE÷!ð !ûô ò 	Ùð	ûô ò #Cõ 	7ð ,Ø)Ø.Ø1Ø.Ø)Ø+Ø1Ø/Ø3Ø/Ø'Ø-ñ%
ˆ	ð" Ð#Ø$×*Ñ*¨3Ó/ˆIÜ˜) A™,Ó'ˆGØ˜"Š}Ø&;�	˜(Ñ#ð %×+Ñ+Ó-ö
Ø°·±¸3³ÀÑ1BÀcÇhÁhÈqÁkÒ1QŠCñ
ùò 
ˆð 
ñ ØˆIØ$-§O¡OÓ$5ò 	5Ñ ˆJ˜Ü˜z¨8Õ4ð	5ä�‰Ð(¬v×/AÑ/A×BÒBûðG#Cúsh   Â%%D( ÃD ÃDÃ'D Ã4D ÄDÄD Ä	D%Ä"D( Ä$D%Ä%D( Ä(	HÄ1AHÆ(F2Æ-F2Æ1AHÈHÚTORCH_USE_RTLD_GLOBALr×   )Ú*c                   ó  — e Zd ZdZd„ Zd„ Zd„ Zd„ Zd.d„Zd„ Z	d	„ Z
d
„ Zd„ Zd„ Zd„ Zdedej"                  fd„Zdej"                  fd„Zdej"                  fd„Zdej"                  fd„Zdej"                  fd„Zd/d„Zd/d„Zd/d„Zd0d„Zd/d„Zd/d„Zd/d„Zd1d„Zd1d„Zd1d„Z d1d„Z!d „ Z"d!„ Z#d"„ Z$d#„ Z%d0d$„Z&d0d%„Z'd/d&„Z(d/d'„Z)d(„ Z*d)„ Z+dejX                  fd*„Z-de.d ejX                  f   fd+„Z/dejX                  fd,„Z0d/d-„Z1y)2r4   zÇ
    Like an int (including magic methods), but redirects all operations on the
    wrapped node. This is used in particular to symbolically record operations
    in the symbolic shape workflow.
    c                 ó   — || _         y r‡   ©Únode©Úselfr  s     r   Ú__init__zSymInt.__init__£  ó   € ð ˆ�	r   c                 ó2   — t        j                  | dk7  «      S ©Nr   )r–   Úbool©r  s    r   Ú__bool__zSymInt.__bool__¨  s   € Ü�}‰}˜T Q™YÓ'Ð'r   c                 ó6   — | j                   j                  «       S r‡   ©r  Úint_r
  s    r   Ú__int__zSymInt.__int__«  ó   € Ø�y‰y�~‰~ÓÐr   c                 ó6   — | j                   j                  «       S r‡   r  r
  s    r   Ú	__index__zSymInt.__index__®  r  r   Nc                 ó   — | S r‡   r   )r  Úndigitss     r   Ú	__round__zSymInt.__round__³  ó   € Øˆr   c                 óä   — t        |t        j                  t        f«      rt	        | «      j                  |«      S t        |t        j                  t        f«      st        S | j                  |«      S r‡   )
Ú
isinstancer–   Úfloatr3   r\   Ú__float_truediv__rï   r4   ÚNotImplementedÚ__int_truediv__©r  Úothers     r   Ú__truediv__zSymInt.__truediv__¶  sT   € Ü�eœhŸn™n¬hÐ7Ô8Ü˜T“?×4Ñ4°UÓ;Ð;Ü˜%¤(§,¡,´Ð!7Ô8Ü!Ð!Ø×#Ñ# EÓ*Ð*r   c                 óä   — t        |t        j                  t        f«      rt	        | «      j                  |«      S t        |t        j                  t        f«      st        S | j                  |«      S r‡   )
r  r–   r  r3   r\   Ú__rfloat_truediv__rï   r4   r  Ú__rint_truediv__r  s     r   Ú__rtruediv__zSymInt.__rtruediv__½  sT   € Ü�eœhŸn™n¬hÐ7Ô8Ü˜T“?×5Ñ5°eÓ<Ð<Ü˜%¤(§,¡,´Ð!7Ô8Ü!Ð!Ø×$Ñ$ UÓ+Ð+r   c                 ó  — t        |t        j                  t        f«      r*t	        t        j                  t	        | «      |z  «      «      S t        |t        j                  t        f«      st        S | j                  |«      S r‡   )r  r–   r  r3   r\   ÚmathÚfloorrï   r4   r  Ú__int_floordiv__r  s     r   Ú__floordiv__zSymInt.__floordiv__Ä  s\   € Ü�eœhŸn™n¬hÐ7Ô8ÜœTŸZ™Z¬	°$«¸%Ñ(?Ó@ÓAÐAÜ˜%¤(§,¡,´Ð!7Ô8Ü!Ð!Ø×$Ñ$ UÓ+Ð+r   c                 ó  — t        |t        j                  t        f«      r*t	        t        j                  |t	        | «      z  «      «      S t        |t        j                  t        f«      st        S | j                  |«      S r‡   )r  r–   r  r3   r\   r%  r&  rï   r4   r  Ú__rint_floordiv__r  s     r   Ú__rfloordiv__zSymInt.__rfloordiv__Ë  s\   € Ü�eœhŸn™n¬hÐ7Ô8ÜœTŸZ™Z¨´	¸$³Ñ(?Ó@ÓAÐAÜ˜%¤(§,¡,´Ð!7Ô8Ü!Ð!Ø×%Ñ% eÓ,Ð,r   c                 ó4  — t        |t        j                  t        f«      rt	        | «      j                  |«      S t        |t        j                  t        f«      st        S |dk\  r| j                  |«      S t	        | «      j                  t	        |«      «      S r  )
r  r–   r  r3   r\   Ú__pow__rï   r4   r  Ú__pow_by_natural__r  s     r   r-  zSymInt.__pow__Ö  sy   € Ü�eœhŸn™n¬hÐ7Ô8Ü˜T“?×*Ñ*¨5Ó1Ð1Ü˜%¤(§,¡,´Ð!7Ô8Ü!Ð!ð �AŠ:Ø×*Ñ*¨5Ó1Ð1ô ˜T“?×*Ñ*¬9°UÓ+;Ó<Ð<r   c                 ó4  — t        |t        j                  t        f«      rt	        | «      j                  |«      S t        |t        j                  t        f«      st        S | dk\  r| j                  |«      S t	        | «      j                  t	        |«      «      S r  )
r  r–   r  r3   r\   Ú__rpow__rï   r4   r  Ú__rpow_by_natural__r  s     r   r0  zSymInt.__rpow__î  su   € Ü�eœhŸn™n¬hÐ7Ô8Ü˜T“?×+Ñ+¨EÓ2Ð2Ü˜%¤(§,¡,´Ð!7Ô8Ü!Ð!Ø�1Š9Ø×+Ñ+¨EÓ2Ð2ä˜T“?×+Ñ+¬I°eÓ,<Ó=Ð=r   r  r   c                 ó   — t        d«      ‚©Nútype stub not overridden©Ú	TypeErrorr  s     r   Ú__eq__zSymInt.__eq__ø  ó   € ÜÐ2Ó3Ð3r   c                 ó   — t        d«      ‚r3  r5  r  s     r   Ú__lt__zSymInt.__lt__û  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   Ú__gt__zSymInt.__gt__þ  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   Ú__le__zSymInt.__le__  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   Ú__ge__zSymInt.__ge__  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   Ú__add__zSymInt.__add__  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   Ú__radd__zSymInt.__radd__
  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   Ú__rmul__zSymInt.__rmul__  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   Ú__mod__zSymInt.__mod__  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   Ú__mul__zSymInt.__mul__  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r.  zSymInt.__pow_by_natural__  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r1  zSymInt.__rpow_by_natural__  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r  zSymInt.__int_truediv__  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r"  zSymInt.__rint_truediv__  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r'  zSymInt.__int_floordiv__"  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r*  zSymInt.__rint_floordiv__%  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   Ú__sym_max__zSymInt.__sym_max__(  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   Ú__sym_min__zSymInt.__sym_min__+  r8  r   c                 ó   — t        d«      ‚r3  r5  r
  s    r   Ú__sym_float__zSymInt.__sym_float__.  r8  r   c                 ó   — t        d«      ‚r3  r5  r
  s    r   Ú__neg__zSymInt.__neg__1  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   Ú__sub__zSymInt.__sub__4  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   Ú__rsub__zSymInt.__rsub__7  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   Ú__and__zSymInt.__and__:  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   Ú__or__zSymInt.__or__=  r8  r   c                 ó6   — | j                   j                  «       S r‡   ©r  Ú_graph_reprr
  s    r   Ú__repr__zSymInt.__repr__@  ó   € Ø�y‰y×$Ñ$Ó&Ð&r   c                 ó.   — | j                   j                  S r‡   ©r  Úexprr
  s    r   Ú_sympy_zSymInt._sympy_C  ó   € Ø�y‰y�~‰~Ðr   c                 ó’   — | j                   j                  «       r#t        | j                   j                  «       «      S t	        d«      ‚)Nz"unhashable type: non-nested SymInt)r  Úis_nested_intÚhashÚ
nested_intr6  r
  s    r   Ú__hash__zSymInt.__hash__F  s8   € Ø�9‰9×"Ñ"Ô$Ü˜Ÿ	™	×,Ñ,Ó.Ó/Ð/ô Ð@ÓAÐAr   c                 ó
   — | dfS )z,Represent this int as an exact integer ratior   r   r
  s    r   Úas_integer_ratiozSymInt.as_integer_ratioR  s   € à�Qˆwˆr   c                 óH   — t        j                  | «      j                  «       S r‡   )r–   rï   Ú
bit_lengthr
  s    r   rs  zSymInt.bit_lengthV  s   € ô
 �|‰|˜DÓ!×,Ñ,Ó.Ð.r   c                 ó   — | S r‡   r   r
  s    r   Ú	conjugatezSymInt.conjugate]  r  r   r‡   )r   r4   )r  r   r   r4   ©r   r3   )2Ú__name__Ú
__module__Ú__qualname__Ú__doc__r  r  r  r  r  r  r#  r(  r+  r-  r0  r   r–   r	  r7  r:  r<  r>  r@  rB  rD  rF  rH  rJ  r.  r1  r  r"  r'  r*  rR  rT  rV  rX  rZ  r\  r^  r`  rd  ri  rï   ro  Útuplerq  rs  ru  r   r   r   r4   r4   œ  s?  „ ñòò
(ò ò ó
ò+ò,ò,ò-ò=ò0>ð4˜Fð 4 x§}¡}ó 4ð4˜xŸ}™}ó 4ð4˜xŸ}™}ó 4ð4˜xŸ}™}ó 4ð4˜xŸ}™}ó 4ó4ó4ó4ó4ó4ó4ó4ó4ó4ó4ó4ò4ò4ò4ò4ó4ó4ó4ó4ò'òðB˜(Ÿ,™,ó Bð %¨°(·,±,Ð(>Ñ"?ó ð/˜HŸL™Ló /ôr   r4   c                   óŒ  — e Zd ZdZd„ Zd„ Zd„ Zd„ Zd„ Zd„ Z	d„ Z
d	„ Zd
„ Zdedej                  fd„Zdej                  fd„Zdej                  fd„Zdej                  fd„Zdej                  fd„Zd"d„Zd"d„Zd"d„Zd"d„Zd„ Zd„ Zd„ Zd„ Zd„ Zdeej>                  ej>                  f   fd„Z d„ Z!d„ Z"d„ Z#d"d„Z$de%fd „Z&y!)#r3   zÉ
    Like an float (including magic methods), but redirects all operations on the
    wrapped node. This is used in particular to symbolically record operations
    in the symbolic shape workflow.
    c                 ó   — || _         y r‡   r  r  s     r   r  zSymFloat.__init__h  r  r   c                 óª   — t        |t        j                  t        j                  t        t
        f«      st        S | j                  t        |«      «      S r‡   )	r  r–   rï   r  r4   r3   r  r  r\   r  s     r   r  zSymFloat.__truediv__m  s9   € Ü˜%¤(§,¡,´·±ÄÌÐ!QÔRÜ!Ð!Ø×%Ñ%¤i°Ó&6Ó7Ð7r   c                 óª   — t        |t        j                  t        j                  t        t
        f«      st        S | j                  t        |«      «      S r‡   )	r  r–   rï   r  r4   r3   r  r!  r\   r  s     r   r#  zSymFloat.__rtruediv__r  s9   € Ü˜%¤(§,¡,´·±ÄÌÐ!QÔRÜ!Ð!Ø×&Ñ&¤y°Ó'7Ó8Ð8r   c                 óÊ   — t        |t        j                  t        j                  t        t
        f«      st        S t        t        j                  | t        |«      z  «      «      S r‡   ©
r  r–   rï   r  r4   r3   r  r\   r%  r&  r  s     r   r(  zSymFloat.__floordiv__w  sA   € Ü˜%¤(§,¡,´·±ÄÌÐ!QÔRÜ!Ð!ÜœŸ™ D¬9°UÓ+;Ñ$;Ó<Ó=Ð=r   c                 óÊ   — t        |t        j                  t        j                  t        t
        f«      st        S t        t        j                  t        |«      | z  «      «      S r‡   r�  r  s     r   r+  zSymFloat.__rfloordiv__|  sA   € Ü˜%¤(§,¡,´·±ÄÌÐ!QÔRÜ!Ð!ÜœŸ™¤I¨eÓ$4°tÑ$;Ó<Ó=Ð=r   c                 ó6   — | j                   j                  «       S r‡   ©r  Úbool_r
  s    r   r  zSymFloat.__bool__�  ó   € Ø�y‰y�‰Ó Ð r   c                 ó:   — | j                   j                  dd«      S )Nrq   r   )r  Úguard_floatr
  s    r   Ú	__float__zSymFloat.__float__„  s   € Ø�y‰y×$Ñ$ R¨Ó+Ð+r   c                 óÈ   — t        |t        j                  t        j                  t        t
        f«      st        S t        j                  | dk\  «       | j                  |«      S r  )
r  r–   rï   r  r4   r3   r  ÚtorchÚ_checkÚ__float_pow__r  s     r   r-  zSymFloat.__pow__‰  sD   € Ü˜%¤(§,¡,´·±ÄÌÐ!QÔRÜ!Ð!Ü�‰�T˜Q‘YÔØ×!Ñ! %Ó(Ð(r   c                 óÈ   — t        |t        j                  t        j                  t        t
        f«      st        S t        j                  |dk\  «       | j                  |«      S r  )
r  r–   rï   r  r4   r3   r  r‹  rŒ  Ú__rfloat_pow__r  s     r   r0  zSymFloat.__rpow__�  sD   € Ü˜%¤(§,¡,´·±ÄÌÐ!QÔRÜ!Ð!Ü�‰�U˜a‘ZÔ Ø×"Ñ" 5Ó)Ð)r   r  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r7  zSymFloat.__eq__—  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r:  zSymFloat.__lt__š  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r<  zSymFloat.__gt__�  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r>  zSymFloat.__le__   r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r@  zSymFloat.__ge__£  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r�  zSymFloat.__float_pow__¦  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r�  zSymFloat.__rfloat_pow__©  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r  zSymFloat.__float_truediv__¬  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r!  zSymFloat.__rfloat_truediv__¯  r8  r   c                 ó   — t        d«      ‚r3  r5  r
  s    r   Ú	__trunc__zSymFloat.__trunc__²  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   rR  zSymFloat.__sym_max__µ  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   rT  zSymFloat.__sym_min__¸  r8  r   c                 ó   — t        d«      ‚r3  r5  r
  s    r   Ú__sym_int__zSymFloat.__sym_int__»  r8  r   c                 ó   — t        d«      ‚)z'Return True if the float is an integer.r4  r5  r
  s    r   Ú
is_integerzSymFloat.is_integer¾  s   € äÐ2Ó3Ð3r   c                 óH   — t        j                  | «      j                  «       S )z.Represent this float as an exact integer ratio)r–   r  rq  r
  s    r   rq  zSymFloat.as_integer_ratioÂ  s   € ä�~‰~˜dÓ#×4Ñ4Ó6Ð6r   c                 ó6   — | j                   j                  «       S r‡   rb  r
  s    r   rd  zSymFloat.__repr__Æ  re  r   c                 ó.   — | j                   j                  S r‡   rg  r
  s    r   ri  zSymFloat._sympy_É  rj  r   c                 ó>   — t        t        j                  | «      «      S r‡   )rm  r–   r  r
  s    r   ro  zSymFloat.__hash__Ì  s   € Ü”H—N‘N 4Ó(Ó)Ð)r   c                 ó   — | S )z+Returns the complex conjugate of the float.r   r
  s    r   ru  zSymFloat.conjugateÏ  s   € àˆr   c                 óV   — | j                   j                  dd«      j                  «       S )z4Returns the hexadecimal representation of the float.rq   r   )r  rˆ  Úhexr
  s    r   r§  zSymFloat.hexÓ  s"   € à�y‰y×$Ñ$ R¨Ó+×/Ñ/Ó1Ð1r   Nrv  )'rw  rx  ry  rz  r  r  r#  r(  r+  r  r‰  r-  r0  r   r–   r	  r7  r:  r<  r>  r@  r�  r�  r  r!  rš  rR  rT  rž  r   r{  rï   rq  rd  ri  ro  ru  Ústrr§  r   r   r   r3   r3   a  sö   „ ñòò
8ò
9ò
>ò
>ò
!ò,ò
)ò*ð4˜Fð 4 x§}¡}ó 4ð4˜xŸ}™}ó 4ð4˜xŸ}™}ó 4ð4˜xŸ}™}ó 4ð4˜xŸ}™}ó 4ó4ó4ó4ó4ò4ò4ò4ò4ò4ð7 %¨¯©°h·l±lÐ(BÑ"Có 7ò'òò*óð2�Sô 2r   r3   c                   ór   — e Zd ZdZd„ Zd„ Zd„ Zdd„Zdd„Zdd„Z	d	„ Z
dej                  fd
„Zd„ Zd„ Zd„ Zy)r2   an  
    Like an bool (including magic methods), but redirects all operations on the
    wrapped node. This is used in particular to symbolically record operations
    in the symbolic shape workflow.

    Unlike regular bools, regular boolean operators will force extra guards instead
    of symbolically evaluate.  Use the bitwise operators instead to handle this.
    c                 ó   — || _         y r‡   r  r  s     r   r  zSymBool.__init__â  r  r   c                 ó6   — | j                   j                  «       S r‡   r„  r
  s    r   r  zSymBool.__bool__ç  r†  r   c                 ó\   — t        j                  | j                  j                  «       «      S r‡   )r–   rï   r  r…  r
  s    r   r  zSymBool.__int__ê  s   € Ü�|‰|˜DŸI™IŸO™OÓ-Ó.Ð.r   r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r^  zSymBool.__and__î  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r`  zSymBool.__or__ñ  r8  r   c                 ó   — t        d«      ‚r3  r5  r
  s    r   Ú__sym_not__zSymBool.__sym_not__  r8  r   c                 ó   — t        d«      ‚r3  r5  )r  Úthen_valÚelse_vals      r   Ú__sym_ite__zSymBool.__sym_ite__  r8  r   c                 ó   — t        d«      ‚r3  r5  r  s     r   r7  zSymBool.__eq__  r8  r   c                 ó6   — | j                   j                  «       S r‡   rb  r
  s    r   rd  zSymBool.__repr__  re  r   c                 ó.   — | j                   j                  S r‡   rg  r
  s    r   ri  zSymBool._sympy_  rj  r   c                 ó¸   — | j                   j                  «       r#t        | j                   j                  «       «      S t        t	        j
                  | «      «      S r‡   )r  Úis_constantrm  r…  r–   r	  r
  s    r   ro  zSymBool.__hash__  s>   € Ø�9‰9× Ñ Ô"Ü˜Ÿ	™	Ÿ™Ó)Ó*Ð*ô œŸ™ dÓ+Ó,Ð,r   N)r   r2   )rw  rx  ry  rz  r  r  r  r^  r`  r°  r´  r–   r	  r7  rd  ri  ro  r   r   r   r2   r2   Ø  sI   „ ñòò
!ò/ó4ó4ó(4ò4ð4˜xŸ}™}ó 4ò'òó-r   r2   c                 óÜ   — ddl }t        j                  | «      rt        j                  t        | f| «      S t        | d«      r| j                  «       S t        | |j                  «      r|  S |  S )zhSymInt-aware utility for logical negation.

    Args:
        a (SymBool or bool): Object to negate
    r   Nr°  )	ÚsympyÚ	overridesÚhas_torch_function_unaryÚhandle_torch_functionrb   r�   r°  r  ÚBasic)Úar»  s     r   rb   rb     s^   € ó ä×)Ñ)¨!Ô,Ü×.Ñ.¬w¸¸¸aÓ@Ð@Üˆq�-Ô Ø�}‰}‹ÐÜ�!�U—[‘[Ô!Øˆrˆ	Øˆ5€Lr   c                 óê   — t        j                  | «      rt        j                  t        | f| «      S t	        | t
        «      r| S t        | d«      r| j                  «       S t        j                  | «      S )zoSymInt-aware utility for float casting.

    Args:
        a (SymInt, SymFloat, or object): Object to cast
    rV  )
r¼  r½  r¾  r\   r  r3   r�   rV  r–   r  ©rÀ  s    r   r\   r\   -  s^   € ô ×)Ñ)¨!Ô,Ü×.Ñ.¬y¸1¸$ÀÓBÐBÜ�!”XÔØˆÜ	��OÔ	$Ø�‰Ó Ð Ü�>‰>˜!ÓÐr   c                 óü   — t        j                  | «      rt        j                  t        | f| «      S t	        | t
        «      r| S t	        | t        «      rt        j                  | «      S t        j                  | «      S )zmSymInt-aware utility for int casting.

    Args:
        a (SymInt, SymFloat, or object): Object to cast
    )r¼  r½  r¾  r^   r  r4   r3   r%  Útruncr–   rï   rÂ  s    r   r^   r^   <  s^   € ô ×)Ñ)¨!Ô,Ü×.Ñ.¬w¸¸¸aÓ@Ð@Ü�!”VÔØˆÜ	�A”xÔ	 Ü�z‰z˜!‹}ÐÜ�<‰<˜‹?Ðr   c                 ó@  — t        j                  | |f«      rt        j                  t        | |f| |«      S t	        | t
        t        f«      r| j                  |«      S t	        |t
        t        f«      r|j                  | «      S t        «       \  }}t	        | |«      sJ t        | «      «       ‚t	        ||«      sJ t        |«      «       ‚t	        | |«      st	        ||«      r)t        j                  t        j                  | |«      «      S t        j                  | |«      S )a  
    SymInt-aware utility for max which avoids branching on a < b.
    Unlike builtins.max(), this only works for int/float, and it always
    promotes to float if any argument is float (unlike builtins.max, which
    will faithfully preserve the type of the input argument).
    )r¼  Úhas_torch_functionr¾  r`   r  r4   r3   rR  Ú__all_and_float_typesÚtyper–   r  Úmax©rÀ  ÚbÚ	all_typesÚfloat_typess       r   r`   r`   K  sî   € ô ×#Ñ# Q¨ FÔ+Ü×.Ñ.¬w¸¸A¸ÀÀ1ÓEÐEÜ�!”fœhÐ'Ô(Ø�}‰}˜QÓÐÜ	�Aœ¤Ð)Ô	*ð �}‰}˜QÓÐô 3Ó4Ñ€Iˆ{ä�a˜Ô#Ð,¤T¨!£WÓ,Ð#Ü�a˜Ô#Ð,¤T¨!£WÓ,Ð#Ü�!�[Ô!¤Z°°;Ô%?Ü�~‰~œhŸl™l¨1¨aÓ0Ó1Ð1ä�|‰|˜A˜qÓ!Ð!r   .c                  ó>  — 	 dd l } | j                  | j                  t        j                  t        j
                  f}| j                  t        j
                  f}||fS # t        $ r7 t        j                  t        j
                  f}t        j
                  f}Y ||fS w xY wr  )ÚnumpyÚintegerÚfloatingr–   rï   r  ÚModuleNotFoundError)ÚnprÌ  rÍ  s      r   rÇ  rÇ  f  sŠ   € ð(Ûð �J‰JØ�K‰KÜ�L‰LÜ�N‰Nð	'
ˆ	ð *,¯©´h·n±nÐ(Eˆð
 �kÐ!Ð!øô	 ò (Ü—\‘\¤8§>¡>Ð2ˆ	Ü—~‘~Ð'‰à�kÐ!Ð!ð	(ús   ‚AA Á:BÂBc                 ó@  — t        j                  | |f«      rt        j                  t        | |f| |«      S t	        | t
        t        f«      r| j                  |«      S t	        |t
        t        f«      r|j                  | «      S t        «       \  }}t	        | |«      sJ t        | «      «       ‚t	        ||«      sJ t        |«      «       ‚t	        | |«      st	        ||«      r)t        j                  t        j                  | |«      «      S t        j                  | |«      S )zSymInt-aware utility for min().)r¼  rÆ  r¾  ra   r  r4   r3   rT  rÇ  rÈ  r–   r  ÚminrÊ  s       r   ra   ra   x  sè   € ä×#Ñ# Q¨ FÔ+Ü×.Ñ.¬w¸¸A¸ÀÀ1ÓEÐEÜ�!”fœhÐ'Ô(Ø�}‰}˜QÓÐÜ	�Aœ¤Ð)Ô	*Ø�}‰}˜QÓÐä2Ó4Ñ€Iˆ{ä�a˜Ô#Ð,¤T¨!£WÓ,Ð#Ü�a˜Ô#Ð,¤T¨!£WÓ,Ð#Ü�!�[Ô!¤Z°°;Ô%?Ü�~‰~œhŸl™l¨1¨aÓ0Ó1Ð1ä�|‰|˜A˜qÓ!Ð!r   c                 ó²  ‡‡— t        j                  | «      rt        j                  t        | | «      S dŠ| D ]V  }t	        |t
        t        j                  f«      st        j                  | «      c S t	        |t
        «      sŒK|j                  ŠŒX ‰€t        j                  | «      S ddl
mŠm}  |‰j                  t        ˆˆfd„| D «       «      «      «      S )z‹
    N-ary add which is faster to compute for long lists than iterated binary
    addition.  Only does something special for integers.
    Nr   )Úto_nodeÚ	wrap_nodec              3   ó0   •K  — | ]  } ‰‰|«      –— Œ y ­wr‡   r   )rx   rÀ  Úfoundr×  s     €€r   rz   zsym_sum.<locals>.<genexpr>ž  s   øè ø€ Ò(I¸q©°¸×):Ñ(Iùs   ƒ)r¼  rÆ  r¾  rc   r  r4   r–   rï   Úsumr  Útorch.fx.experimental.sym_noder×  rØ  r{  )rñ   rÀ  rØ  rÚ  r×  s      @@r   rc   rc   ‹  s©   ù€ ô
 ×#Ñ# DÔ)Ü×.Ñ.¬w¸¸dÓCÐCà€EØò ˆÜ˜!œf¤h§l¡lÐ3Ô4Ü—<‘< Ó%Ò%Ü�aœÕ Ø—F‘F‰Eð	ð
 €}Ü�|‰|˜DÓ!Ð!çAá�U—]‘]¤5Ô(IÀDÔ(IÓ#IÓJÓKÐKr   c                 ó   ‡ ‡— ˆˆ fd„Š‰S )Nc                 ó  •— t        j                  | «      rt        j                  ‰| f| «      S t        | t        «      rt        j                  | «      } t        | d‰› d�«      r t        | d‰› d�«      «       S  t        t        ‰«      | «      S )NÚ__sym_Ú__)
r¼  r½  r¾  r  r4   r‹  r\   r�   Úgetattrr%  )rÀ  ÚfnÚnames    €€r   râ  z_get_sym_math_fn.<locals>.fn£  s‚   ø€ Ü×-Ñ-¨aÔ0Ü×2Ñ2°2¸°t¸QÓ?Ð?Ü�aœÔ Ü—‘ Ó"ˆAÜ�1˜˜t˜f BÐ'Ô(Ø0”7˜1  t f¨BÐ/Ó0Ó2Ð2Ø"Œw”t˜TÓ" 1Ó%Ð%r   r   )rã  râ  s   `@r   Ú_get_sym_math_fnrä  ¢  s   ù€ õ&ð €Ir   )Nrq   rq   )ÚsqrtÚcosÚcoshÚsinÚsinhÚtanÚtanhÚasinÚacosÚatanÚlog2Ú_sym_Ú	_sym_sqrtÚsym_sqrtc                 ó4  — t        j                  | ||f«      r t        j                  t        | ||f| ||«      S t	        | t
        t        j                  f«      rt        |«      t        |«      k(  sJ ‚t	        | t
        «      r| j                  ||«      S | r|S |S r‡   )
r¼  rÆ  r¾  r_   r  r2   r–   r	  rÈ  r´  )rË  Útrö   s      r   r_   r_   Ê  s…   € Ü×#Ñ# Q¨¨1 IÔ.Ü×.Ñ.¬w¸¸A¸q¸	À1ÀaÈÓKÐKÜ�aœ'¤8§=¡=Ð1Ô2´t¸A³wÄ$ÀqÃ'Ò7IÐIÐIÜ�!”WÔØ�}‰}˜Q Ó"Ð"Ùˆ1Ð�qÐr   c                 óH   — t        j                  | «      j                  «       S r‡   )r‹  ÚtensorÚitem)rh  s    r   r]   r]   Ô  s   € Ü�<‰<˜Ó×"Ñ"Ó$Ð$r   )Ú_initExtensionaº  
                Failed to load PyTorch C extensions:
                    It appears that PyTorch has loaded the `torch/_C` folder
                    of the PyTorch repository rather than the C extensions which
                    are expected in the `torch._C` namespace. This can occur when
                    using the `install` workflow. e.g.
                        $ python setup.py install && python -c "import torch"

                    This error can generally be solved using the `develop` workflow
                        $ python setup.py develop && python -c "import torch"  # This should succeed
                    or by running Python from a different directory.
                )Ú_C)rq   Nr‚   ÚBase>   Ú	GeneratorÚDisableTorchFunctionÚDisableTorchFunctionSubclassÚ
TensorBasec                 óZ  — |€
t        «       }| |v ry |j                  | «       | j                  }t        | «      D ]o  }t	        | |«      }t	        |dd«      }t        j                  |«      sŒ2|j                  |«      sŒDt        j                  j                  ||«       t        ||«       Œq y )Nrw  rq   )ÚsetÚaddrw  Údirrá  ÚinspectÚismoduleÚ
startswithr   r   Ú
setdefaultÚ _import_extension_to_sys_modules)ÚmoduleÚmemoÚmodule_namerã  ÚmemberÚmember_names         r   r  r    s“   € Øˆ<Ü“5ˆDØ�T‰>ØØ�‰�ÔØ—o‘oˆÜ˜“Kò 	?ˆDÜ˜V TÓ*ˆFÜ! &¨*°bÓ9ˆKÜ×Ñ Õ'¨K×,BÑ,BÀ;Õ,OÜ—‘×&Ñ& {°FÔ;ä0°¸Õ>ñ	?r   Úobjc                óZ  — t        | t        j                  «      r| j                  «       S t	        | dd«      xs d}d}t        | d«      r| j                  }nIt        | d«      r| j                  }n0| j                  j                  xs d}| j                  j                  }|dv r|S |› d|› �S )aÍ  
    String representation of the type of an object.

    This function returns a fully qualified string representation of an object's type.
    Args:
        obj (object): The object whose type to represent
    Returns:
        str: the type of the object `o`
    Example:
        >>> x = torch.tensor([1, 2, 3])
        >>> torch.typename(x)
        'torch.LongTensor'
        >>> torch.typename(torch.nn.Parameter)
        'torch.nn.parameter.Parameter'
    rx  rq   ry  rw  >   rq   r–   r�   )
r  r‹  r5   rÈ  rá  r�   ry  rw  Ú	__class__rx  )r  r  Úqualnames      r   rd   rd   )  s    € ô  �#”u—|‘|Ô$Ø�x‰x‹zÐä�S˜,¨Ó+Ò1¨r€FØ€Häˆs�NÔ#Ø×#Ñ#‰Ü	��jÔ	!Ø—<‘<‰à—‘×)Ñ)Ò/¨RˆØ—=‘=×-Ñ-ˆàÐ!Ñ!ØˆØˆX�Q�x�jÐ!Ð!r   ztorch.Tensorc                ó6   — t        | t        j                  «      S )a­  Returns True if `obj` is a PyTorch tensor.

    Note that this function is simply doing ``isinstance(obj, Tensor)``.
    Using that ``isinstance`` check is better for typechecking with mypy,
    and more explicit - so it's recommended to use that instead of
    ``is_tensor``.

    Args:
        obj (object): Object to test
    Example::

        >>> x = torch.tensor([1, 2, 3])
        >>> torch.is_tensor(x)
        True

    )r  r‹  r5   ©r  s    r   rH   rH   L  s   € ô" �cœ5Ÿ<™<Ó(Ð(r   )r6   r7   c                ó$   — t        | «      t        v S )zgReturns True if `obj` is a PyTorch storage object.

    Args:
        obj (Object): Object to test
    )rÈ  Ú_storage_classesr  s    r   rG   rG   `  s   € ô �‹9Ô(Ð(Ð(r   útorch.devicec                  óÚ   — t        t        d«      rGt        j                  j                  } | j                  �| S t        j                  g «      j                  S t        j                  d«      S )z?Gets the default ``torch.Tensor`` to be allocated on ``device``Údevice_contextÚcpu)r�   Ú_GLOBAL_DEVICE_CONTEXTr  ÚdeviceÚindexr‹  rö  )r  s    r   r?   r?   l  sV   € ô Ô%Ð'7Ô8Ü'×6Ñ6×=Ñ=ˆØ�<‰<Ð#ØˆMô —<‘< Ó#×*Ñ*Ð*ä�|‰|˜EÓ"Ð"r   r  c                 óà   — t        t        d«      r%t        j                  }|�|j                  ddd«       | €d}|t        _        yddlm}  || «      }|j                  «        |t        _        y)a  Sets the default ``torch.Tensor`` to be allocated on ``device``.  This
    does not affect factory function calls which are called with an explicit
    ``device`` argument.  Factory calls will be performed as if they
    were passed ``device`` as an argument.

    To only temporarily change the default device instead of setting it
    globally, use ``with torch.device(device):`` instead.

    The default device is initially ``cpu``.  If you set the default tensor
    device to another device (e.g., ``cuda``) without a device index, tensors
    will be allocated on whatever the current device for the device type,
    even after :func:`torch.cuda.set_device` is called.

    .. warning::

        This function imposes a slight performance cost on every Python
        call to the torch API (not just factory functions).  If this
        is causing problems for you, please comment on
        https://github.com/pytorch/pytorch/issues/92701

    .. note::

        This doesn't affect functions that create tensors that share the same memory as the input, like:
        :func:`torch.from_numpy` and :func:`torch.frombuffer`

    Args:
        device (device or string): the device to set as default

    Example::

        >>> # xdoctest: +SKIP("requires cuda, changes global state")
        >>> torch.get_default_device()
        device(type='cpu')
        >>> torch.set_default_device('cuda')  # current device is 0
        >>> torch.get_default_device()
        device(type='cuda', index=0)
        >>> torch.set_default_device('cuda')
        >>> torch.cuda.set_device('cuda:1')  # current device is 1
        >>> torch.get_default_device()
        device(type='cuda', index=1)
        >>> torch.set_default_device('cuda:1')
        >>> torch.get_default_device()
        device(type='cuda', index=1)

    r  Nr   )ÚDeviceContext)r�   r  r  Ú__exit__Útorch.utils._devicer  Ú	__enter__)r  r  r  s      r   rS   rS   |  sm   € ôb Ô%Ð'7Ô8Ü/×>Ñ>ˆØÐ%Ø×#Ñ# D¨$°Ô5à€~Øˆð -;ÔÕ)õ	 	6á& vÓ.ˆØ× Ñ Ô"Ø,:ÔÕ)r   rô  c                ód   — t        | t        «      rt        | «      } t        j                  | «       y)a¥  
    .. warning::

        This function is deprecated as of PyTorch 2.1, please use :func:`torch.set_default_dtype()` and
        :func:`torch.set_default_device()` as alternatives.

    Sets the default ``torch.Tensor`` type to floating point tensor type
    ``t``. This type will also be used as default floating point type for
    type inference in :func:`torch.tensor`.

    The default floating point tensor type is initially ``torch.FloatTensor``.

    Args:
        t (type or string): the floating point tensor type or its name

    Example::

        >>> # xdoctest: +SKIP("Other tests may have changed the default type. Can we reset it?")
        >>> torch.tensor([1.2, 3]).dtype    # initial default for floating point is torch.float32
        torch.float32
        >>> torch.set_default_tensor_type(torch.DoubleTensor)
        >>> torch.tensor([1.2, 3]).dtype    # a new floating point tensor
        torch.float64

    N)r  r¨  r   rù  Ú_set_default_tensor_type)rô  s    r   rT   rT   ¼  s&   € ô4 �!”SÔÜ Ó"ˆÜ×Ñ Õ"r   c                ó.   — t        j                  | «       y)a	  

    Sets the default floating point dtype to :attr:`d`. Supports floating point dtype
    as inputs. Other dtypes will cause torch to raise an exception.

    When PyTorch is initialized its default floating point dtype is torch.float32,
    and the intent of set_default_dtype(torch.float64) is to facilitate NumPy-like
    type inference. The default floating point dtype is used to:

    1. Implicitly determine the default complex dtype. When the default floating type is float16,
       the default complex dtype is complex32. For float32, the default complex dtype is complex64.
       For float64, it is complex128. For bfloat16, an exception will be raised because
       there is no corresponding complex type for bfloat16.
    2. Infer the dtype for tensors constructed using Python floats or complex Python
       numbers. See examples below.
    3. Determine the result of type promotion between bool and integer tensors and
       Python floats and complex Python numbers.

    Args:
        d (:class:`torch.dtype`): the floating point dtype to make the default.

    Example:
        >>> # xdoctest: +SKIP("Other tests may have changed the default type. Can we reset it?")
        >>> # initial default for floating point is torch.float32
        >>> # Python floats are interpreted as float32
        >>> torch.tensor([1.2, 3]).dtype
        torch.float32
        >>> # initial default for floating point is torch.complex64
        >>> # Complex Python numbers are interpreted as complex64
        >>> torch.tensor([1.2, 3j]).dtype
        torch.complex64

        >>> torch.set_default_dtype(torch.float64)
        >>> # Python floats are now interpreted as float64
        >>> torch.tensor([1.2, 3]).dtype  # a new floating point tensor
        torch.float64
        >>> # Complex Python numbers are now interpreted as complex128
        >>> torch.tensor([1.2, 3j]).dtype  # a new complex tensor
        torch.complex128

        >>> torch.set_default_dtype(torch.float16)
        >>> # Python floats are now interpreted as float16
        >>> torch.tensor([1.2, 3]).dtype  # a new floating point tensor
        torch.float16
        >>> # Complex Python numbers are now interpreted as complex128
        >>> torch.tensor([1.2, 3j]).dtype  # a new complex tensor
        torch.complex32

    N)rù  Ú_set_default_dtype)Úds    r   Úset_default_dtyper&  Û  s   € ôd ×Ñ˜!Õr   F©Ú	warn_onlyrÚ   r(  c                ó2   — t        j                  | |¬«       y)a  Sets whether PyTorch operations must use "deterministic"
    algorithms. That is, algorithms which, given the same input, and when
    run on the same software and hardware, always produce the same output.
    When enabled, operations will use deterministic algorithms when available,
    and if only nondeterministic algorithms are available they will throw a
    :class:`RuntimeError` when called.

    .. note:: This setting alone is not always enough to make an application
        reproducible. Refer to :ref:`reproducibility` for more information.

    .. note:: :func:`torch.set_deterministic_debug_mode` offers an alternative
        interface for this feature.

    The following normally-nondeterministic operations will act
    deterministically when ``mode=True``:

        * :class:`torch.nn.Conv1d` when called on CUDA tensor
        * :class:`torch.nn.Conv2d` when called on CUDA tensor
        * :class:`torch.nn.Conv3d` when called on CUDA tensor
        * :class:`torch.nn.ConvTranspose1d` when called on CUDA tensor
        * :class:`torch.nn.ConvTranspose2d` when called on CUDA tensor
        * :class:`torch.nn.ConvTranspose3d` when called on CUDA tensor
        * :class:`torch.nn.ReplicationPad2d` when attempting to differentiate a CUDA tensor
        * :func:`torch.bmm` when called on sparse-dense CUDA tensors
        * :func:`torch.Tensor.__getitem__` when attempting to differentiate a CPU tensor
          and the index is a list of tensors
        * :func:`torch.Tensor.index_put` with ``accumulate=False``
        * :func:`torch.Tensor.index_put` with ``accumulate=True`` when called on a CPU
          tensor
        * :func:`torch.Tensor.put_` with ``accumulate=True`` when called on a CPU
          tensor
        * :func:`torch.Tensor.scatter_add_` when called on a CUDA tensor
        * :func:`torch.gather` when called on a CUDA tensor that requires grad
        * :func:`torch.index_add` when called on CUDA tensor
        * :func:`torch.index_select` when attempting to differentiate a CUDA tensor
        * :func:`torch.repeat_interleave` when attempting to differentiate a CUDA tensor
        * :func:`torch.Tensor.index_copy` when called on a CPU or CUDA tensor
        * :func:`torch.Tensor.scatter` when `src` type is Tensor and called on CUDA tensor
        * :func:`torch.Tensor.scatter_reduce` when ``reduce='sum'`` or ``reduce='mean'`` and called on CUDA tensor

    The following normally-nondeterministic operations will throw a
    :class:`RuntimeError` when ``mode=True``:

        * :class:`torch.nn.AvgPool3d` when attempting to differentiate a CUDA tensor
        * :class:`torch.nn.AdaptiveAvgPool2d` when attempting to differentiate a CUDA tensor
        * :class:`torch.nn.AdaptiveAvgPool3d` when attempting to differentiate a CUDA tensor
        * :class:`torch.nn.MaxPool3d` when attempting to differentiate a CUDA tensor
        * :class:`torch.nn.AdaptiveMaxPool2d` when attempting to differentiate a CUDA tensor
        * :class:`torch.nn.FractionalMaxPool2d` when attempting to differentiate a CUDA tensor
        * :class:`torch.nn.FractionalMaxPool3d` when attempting to differentiate a CUDA tensor
        * :class:`torch.nn.MaxUnpool1d`
        * :class:`torch.nn.MaxUnpool2d`
        * :class:`torch.nn.MaxUnpool3d`
        * :func:`torch.nn.functional.interpolate` when attempting to differentiate a CUDA tensor
          and one of the following modes is used:

          - ``linear``
          - ``bilinear``
          - ``bicubic``
          - ``trilinear``

        * :class:`torch.nn.ReflectionPad1d` when attempting to differentiate a CUDA tensor
        * :class:`torch.nn.ReflectionPad2d` when attempting to differentiate a CUDA tensor
        * :class:`torch.nn.ReflectionPad3d` when attempting to differentiate a CUDA tensor
        * :class:`torch.nn.ReplicationPad1d` when attempting to differentiate a CUDA tensor
        * :class:`torch.nn.ReplicationPad3d` when attempting to differentiate a CUDA tensor
        * :class:`torch.nn.NLLLoss` when called on a CUDA tensor
        * :class:`torch.nn.CTCLoss` when attempting to differentiate a CUDA tensor
        * :class:`torch.nn.EmbeddingBag` when attempting to differentiate a CUDA tensor when
          ``mode='max'``
        * :func:`torch.Tensor.put_` when ``accumulate=False``
        * :func:`torch.Tensor.put_` when ``accumulate=True`` and called on a CUDA tensor
        * :func:`torch.histc` when called on a CUDA tensor
        * :func:`torch.bincount` when called on a CUDA tensor and ``weights``
          tensor is given
        * :func:`torch.kthvalue` with called on a CUDA tensor
        * :func:`torch.median` with indices output when called on a CUDA tensor
        * :func:`torch.nn.functional.grid_sample` when attempting to differentiate a CUDA tensor
        * :func:`torch.cumsum` when called on a CUDA tensor when dtype is floating point or complex
        * :func:`torch.Tensor.scatter_reduce` when ``reduce='prod'`` and called on CUDA tensor
        * :func:`torch.Tensor.resize_` when called with a quantized tensor

    In addition, several operations fill uninitialized memory when this setting
    is turned on and when
    :attr:`torch.utils.deterministic.fill_uninitialized_memory` is turned on.
    See the documentation for that attribute for more information.

    A handful of CUDA operations are nondeterministic if the CUDA version is
    10.2 or greater, unless the environment variable ``CUBLAS_WORKSPACE_CONFIG=:4096:8``
    or ``CUBLAS_WORKSPACE_CONFIG=:16:8`` is set. See the CUDA documentation for more
    details: `<https://docs.nvidia.com/cuda/cublas/index.html#results-reproducibility>`_
    If one of these environment variable configurations is not set, a :class:`RuntimeError`
    will be raised from these operations when called with CUDA tensors:

        * :func:`torch.mm`
        * :func:`torch.mv`
        * :func:`torch.bmm`

    Note that deterministic operations tend to have worse performance than
    nondeterministic operations.

    .. note::

        This flag does not detect or prevent nondeterministic behavior caused
        by calling an inplace operation on a tensor with an internal memory
        overlap or by giving such a tensor as the :attr:`out` argument for an
        operation. In these cases, multiple writes of different data may target
        a single memory location, and the order of writes is not guaranteed.

    Args:
        mode (:class:`bool`): If True, makes potentially nondeterministic
            operations switch to a deterministic algorithm or throw a runtime
            error. If False, allows nondeterministic operations.

    Keyword args:
        warn_only (:class:`bool`, optional): If True, operations that do not
            have a deterministic implementation will throw a warning instead of
            an error. Default: ``False``

    Example::

        >>> # xdoctest: +SKIP
        >>> torch.use_deterministic_algorithms(True)

        # Forward mode nondeterministic error
        >>> torch.randn(10, device='cuda').kthvalue(1)
        ...
        RuntimeError: kthvalue CUDA does not have a deterministic implementation...

        # Backward mode nondeterministic error
        >>> torch.nn.AvgPool3d(1)(torch.randn(3, 4, 5, 6, requires_grad=True).cuda()).sum().backward()
        ...
        RuntimeError: avg_pool3d_backward_cuda does not have a deterministic implementation...
    r'  N)rù  Ú_set_deterministic_algorithms)rÚ   r(  s     r   rf   rf     s   € ôV ×$Ñ$ T°YÖ?r   c                  ó*   — t        j                  «       S )z˜Returns True if the global deterministic flag is turned on. Refer to
    :func:`torch.use_deterministic_algorithms` documentation for more details.
    )rù  Ú_get_deterministic_algorithmsr   r   r   r8   r8   ž  ó   € ô ×+Ñ+Ó-Ð-r   c                  ó*   — t        j                  «       S )z£Returns True if the global deterministic flag is set to warn only.
    Refer to :func:`torch.use_deterministic_algorithms` documentation for more
    details.
    )rù  Ú'_get_deterministic_algorithms_warn_onlyr   r   r   rF   rF   ¥  s   € ô
 ×5Ñ5Ó7Ð7r   Ú
debug_modec                 óž  — t        | t        j                  t        f«      st	        dt        | «      › �«      ‚t        | t        «      r&| dk(  rd} n| dk(  rd} n| dk(  rd} nt        d| › �«      ‚| dk(  rt        j                  d	«       y| dk(  rt        j                  d
d
¬«       y| dk(  rt        j                  d
«       yt        d| › �«      ‚)aö  Sets the debug mode for deterministic operations.

    .. note:: This is an alternative interface for
        :func:`torch.use_deterministic_algorithms`. Refer to that function's
        documentation for details about affected operations.

    Args:
        debug_mode(str or int): If "default" or 0, don't error or warn on
            nondeterministic operations. If "warn" or 1, warn on
            nondeterministic operations. If "error" or 2, error on
            nondeterministic operations.
    z'debug_mode must be str or int, but got Údefaultr   Úwarnr   Úerroré   zQinvalid value of debug_mode, expected one of `default`, `warn`, `error`, but got FTr'  z:invalid value of debug_mode, expected 0, 1, or 2, but got N)	r  r–   rï   r¨  r6  rÈ  ÚRuntimeErrorrù  r*  )r0  s    r   rU   rU   ­  s×   € ô  �j¤8§<¡<´Ð"5Ô6ÜÐAÄ$ÀzÓBRÐASÐTÓUÐUä�*œcÔ"Ø˜Ò"Ø‰JØ˜6Ò!Ø‰JØ˜7Ò"Ø‰Jäð,Ø,6¨<ð9óð ð
 �Q‚Ü
×(Ñ(¨Õ/Ø	�qŠÜ
×(Ñ(¨¸Ö>Ø	�qŠÜ
×(Ñ(¨Õ.äØHÈÈÐUó
ð 	
r   c                  óX   — t        j                  «       rt        j                  «       ryyy)zªReturns the current value of the debug mode for deterministic
    operations. Refer to :func:`torch.set_deterministic_debug_mode`
    documentation for more details.
    r   r5  r   )rù  r,  r/  r   r   r   r@   r@   Ù  s%   € ô 
×'Ñ'Ô)Ü×5Ñ5Ô7Øààr   c                  ó*   — t        j                  «       S )z¢Returns the current value of float32 matrix multiplication precision. Refer to
    :func:`torch.set_float32_matmul_precision` documentation for more details.
    )rù  Ú_get_float32_matmul_precisionr   r   r   rB   rB   è  r-  r   Ú	precisionc                 ó.   — t        j                  | «       y)aŒ  Sets the internal precision of float32 matrix multiplications.

    Running float32 matrix multiplications in lower precision may significantly increase
    performance, and in some programs the loss of precision has a negligible impact.

    Supports three settings:

        * "highest", float32 matrix multiplications use the float32 datatype (24 mantissa
          bits with 23 bits explicitly stored) for internal computations.
        * "high", float32 matrix multiplications either use the TensorFloat32 datatype (10
          mantissa bits explicitly stored) or treat each float32 number as the sum of two bfloat16 numbers
          (approximately 16 mantissa bits with 14 bits explicitly stored), if the appropriate fast matrix multiplication
          algorithms are available.  Otherwise float32 matrix multiplications are computed
          as if the precision is "highest".  See below for more information on the bfloat16
          approach.
        * "medium", float32 matrix multiplications use the bfloat16 datatype (8 mantissa
          bits with 7 bits explicitly stored) for internal computations, if a fast matrix multiplication algorithm
          using that datatype internally is available. Otherwise float32
          matrix multiplications are computed as if the precision is "high".

    When using "high" precision, float32 multiplications may use a bfloat16-based algorithm
    that is more complicated than simply truncating to some smaller number mantissa bits
    (e.g. 10 for TensorFloat32, 7 for bfloat16 explicitly stored).  Refer to [Henry2019]_ for a complete
    description of this algorithm.  To briefly explain here, the first step is to realize
    that we can perfectly encode a single float32 number as the sum of three bfloat16
    numbers (because float32 has 23 mantissa bits while bfloat16 has 7 explicitly stored, and both have the
    same number of exponent bits).  This means that the product of two float32 numbers can
    be exactly given by the sum of nine products of bfloat16 numbers.  We can then trade
    accuracy for speed by dropping some of these products.  The "high" precision algorithm
    specifically keeps only the three most significant products, which conveniently excludes
    all of the products involving the last 8 mantissa bits of either input.  This means that
    we can represent our inputs as the sum of two bfloat16 numbers rather than three.
    Because bfloat16 fused-multiply-add (FMA) instructions are typically >10x faster than
    float32 ones, it's faster to do three multiplications and 2 additions with bfloat16
    precision than it is to do a single multiplication with float32 precision.

    .. [Henry2019] http://arxiv.org/abs/1904.06376

    .. note::

        This does not change the output dtype of float32 matrix multiplications,
        it controls how the internal computation of the matrix multiplication is performed.

    .. note::

        This does not change the precision of convolution operations. Other flags,
        like `torch.backends.cudnn.allow_tf32`, may control the precision of convolution
        operations.

    .. note::

        This flag currently only affects one native device type: CUDA.
        If "high" or "medium" are set then the TensorFloat32 datatype will be used
        when computing float32 matrix multiplications, equivalent to setting
        `torch.backends.cuda.matmul.allow_tf32 = True`. When "highest" (the default)
        is set then the float32 datatype is used for internal computations, equivalent
        to setting `torch.backends.cuda.matmul.allow_tf32 = False`.

    Args:
        precision(str): can be set to "highest" (default), "high", or "medium" (see above).

    N)rù  Ú_set_float32_matmul_precision)r:  s    r   rV   rV   ï  s   € ô~ ×$Ñ$ YÕ/r   rË  c                ó.   — t        j                  | «       y)a”  When this flag is False (default) then some PyTorch warnings may only
    appear once per process. This helps avoid excessive warning information.
    Setting it to True causes these warnings to always appear, which may be
    helpful when debugging.

    Args:
        b (:class:`bool`): If True, force warnings to always be emitted
                           If False, set to the default behaviour
    N)rù  Ú_set_warnAlways)rË  s    r   rY   rY   1  s   € ô ×Ñ�qÕr   c                  ó*   — t        j                  «       S )z‰Returns True if the global warn_always flag is turned on. Refer to
    :func:`torch.set_warn_always` documentation for more details.
    )rù  Ú_get_warnAlwaysr   r   r   rI   rI   >  s   € ô ×ÑÓÐr   r<   Úmessagec                 ó8  — t        |t        j                  t        f«      st	        dt        |«      › �«      ‚ddlm}  ||«      ry t        | t        «      rt        | t        «      rJ ‚|€d}n&t        |«      st	        d«      ‚t         |«       «      } | |«      ‚)Nzcond must be a bool, but got r   )Úexpect_truezˆExpected cond to be True, but got False. (Could this error message be improved? If so, please report an enhancement request to PyTorch.)zmessage must be a callable)r  r–   r	  r2   r6  rÈ  Ú%torch.fx.experimental.symbolic_shapesrC  Ú
issubclassrî   ÚWarningÚcallabler¨  )Ú
error_typer<   rA  rC  Úmessage_evaluateds        r   Ú_check_withrJ  M  s”   € ô
 �dœXŸ]™]¬GÐ4Ô5ÜÐ7¼¸T»
°|ÐDÓEÐEåAá�4ÔØô �j¤)Ô,´ZÀ
ÌGÔ5TÐTÐTà€ðñ 	ô ˜Ô ÜÐ8Ó9Ð9ä¡£	›NÐá
Ð&Ó
'Ð'r   c                 ó&   — t        t        | |«       y)a¤  Throws error containing an optional message if the specified condition
    is False.

    Error type: ``RuntimeError``

    C++ equivalent: ``TORCH_CHECK``

    Args:
        cond (:class:`bool`): If False, throw error

        message (Callable, optional): Callable that returns either a string or
            an object that has a ``__str__()`` method to be used as the error
            message. Default: ``None``
    N)rJ  r6  ©r<   rA  s     r   rŒ  rŒ  m  s   € ô ”˜d GÕ,r   )rÉ  c                ó€   — t        | dk\  |«       ddlm}  || «       |�t        | |k  |«       ddlm}  || |«       yy)a{  Checks that a given integer is a valid size (i.e., is non-negative).
    You should use this over ``_check(i >= 0)`` because it can prevent
    ``GuardOnDataDependentSymNode`` exceptions by opting yourself into alternate
    semantics for ``guard_size_oblivious`` tests that treat values 0 and 1
    equivalently to all other values.

    When max is not None, this specifies an upper bound equivalent to
    ``_check(i <= max)``.  This bound is also subject to alternate semantics:
    in ``guard_size_oblivious`` tests, we assume that a constant max bound is
    treated equivalently to all other values.  Symbolic max bounds are not yet
    supported.

    NB: Do NOT use this in contexts where a -1 size would be valid (indicating
    to infer the size from context, or if you should wrap-around or truncate).
    Only use this if the only valid value is an honest to goodness size.
    r   )Ú_advise_is_sizeN)Ú_advise_is_bounded)rŒ  rD  rN  rO  )ÚirA  rÉ  rN  rO  s        r   Ú_check_is_sizerQ    sB   € ô$ ˆ1�‰6�7ÔÝEá�AÔà
€Üˆq�C‰x˜Ô!åLá˜1˜cÕ"ð r   c                 ó&   — t        t        | |«       y)a¨  Throws error containing an optional message if the specified condition
    is False.

    Error type: ``IndexError``

    C++ equivalent: ``TORCH_CHECK_INDEX``

    Args:
        cond (:class:`bool`): If False, throw error

        message (Callable, optional): Callable that returns either a string or
            an object that has a ``__str__()`` method to be used as the error
            message. Default: ``None``
    N)rJ  Ú
IndexErrorrL  s     r   Ú_check_indexrT  ž  ó   € ô ”
˜D 'Õ*r   c                 ó&   — t        t        | |«       y)a¨  Throws error containing an optional message if the specified condition
    is False.

    Error type: ``ValueError``

    C++ equivalent: ``TORCH_CHECK_VALUE``

    Args:
        cond (:class:`bool`): If False, throw error

        message (Callable, optional): Callable that returns either a string or
            an object that has a ``__str__()`` method to be used as the error
            message. Default: ``None``
    N)rJ  rÒ   rL  s     r   Ú_check_valuerW  °  rU  r   c                 ó&   — t        t        | |«       y)a¦  Throws error containing an optional message if the specified condition
    is False.

    Error type: ``TypeError``

    C++ equivalent: ``TORCH_CHECK_TYPE``

    Args:
        cond (:class:`bool`): If False, throw error

        message (Callable, optional): Callable that returns either a string or
            an object that has a ``__str__()`` method to be used as the error
            message. Default: ``None``
    N)rJ  r6  rL  s     r   Ú_check_typerY  Â  s   € ô ”	˜4 Õ)r   c                 ó&   — t        t        | |«       y)a»  Throws error containing an optional message if the specified condition
    is False.

    Error type: ``NotImplementedError``

    C++ equivalent: ``TORCH_CHECK_NOT_IMPLEMENTED``

    Args:
        cond (:class:`bool`): If False, throw error

        message (Callable, optional): Callable that returns either a string or
            an object that has a ``__str__()`` method to be used as the error
            message. Default: ``None``
    N)rJ  ÚNotImplementedErrorrL  s     r   Ú_check_not_implementedr\  Ô  s   € ô Ô# T¨7Õ3r   c                 ó  — t        |«      st        dt        |«      › �«      ‚|j                  t        j
                  k(  st        d|j                  › �«      ‚t        |  |j                  «       j                  «       |«       y )Nzcond must be a tensor, but got z0cond tensor must have dtype torch.bool, but got )	rH   r6  rÈ  Údtyper‹  r	  rJ  Ú_is_all_truer÷  )rH  r<   rA  s      r   Ú_check_tensor_all_withr`  æ  sh   € Ü�TŒ?ÜÐ9¼$¸t»*¸ÐFÓGÐGà�:‰:œŸ™Ò#ÜÐJÈ4Ï:É:È,ÐWÓXÐXä�
Ð-˜D×-Ñ-Ó/×4Ñ4Ó6¸Õ@r   c                 ó&   — t        t        | |«       y)aö  Throws error containing an optional message if the specified condition
    is False.

    Error type: ``RuntimeError``

    C++ equivalent: ``TORCH_CHECK_TENSOR_ALL``

    Args:
        cond (:class:`torch.Tensor`): Tensor of dtype ``torch.bool``. If any
            element is ``False``, throw error

        message (Callable, optional): Callable that returns either a string or
            an object that has a ``__str__()`` method to be used as the error
            message. Default: ``None``
    N)r`  r6  rL  s     r   Ú_check_tensor_allrb  ñ  s   € ô  œ<¨¨wÕ7r   )ÚeÚinfÚnanÚpiÚnewaxis)rc  rf  re  rd  rg  )r5   )Ústorage)Ú_LegacyStorageÚ_StorageBaseÚ_warn_typed_storage_removalr6   r7   c                   ó,   — e Zd Zed„ «       Zed„ «       Zy)r#   c                 ó2   — t        d¬«       | j                  S ©Né   ©Ú
stacklevel©rk  Ú_dtyper
  s    r   r^  zByteStorage.dtype%  ó   € ä#¨qÕ1Ø�{‰{Ðr   c                 ó"   — t         j                  S r‡   )r‹  Úuint8r
  s    r   rs  zByteStorage._dtype*  ó   € ä�{‰{Ðr   N©rw  rx  ry  r   r^  rs  r   r   r   r#   r#   $  ó(   „ Øñó ðð ñó ñr   r#   c                   ó,   — e Zd Zed„ «       Zed„ «       Zy)r'   c                 ó2   — t        d¬«       | j                  S rn  rr  r
  s    r   r^  zDoubleStorage.dtype0  rt  r   c                 ó"   — t         j                  S r‡   )r‹  Údoubler
  s    r   rs  zDoubleStorage._dtype5  ó   € ä�|‰|Ðr   Nrx  r   r   r   r'   r'   /  ó(   „ Øñó ðð ñó ñr   r'   c                   ó,   — e Zd Zed„ «       Zed„ «       Zy)r)   c                 ó2   — t        d¬«       | j                  S rn  rr  r
  s    r   r^  zFloatStorage.dtype;  rt  r   c                 ó"   — t         j                  S r‡   )r‹  r  r
  s    r   rs  zFloatStorage._dtype@  rw  r   Nrx  r   r   r   r)   r)   :  ry  r   r)   c                   ó,   — e Zd Zed„ «       Zed„ «       Zy)ÚHalfStoragec                 ó2   — t        d¬«       | j                  S rn  rr  r
  s    r   r^  zHalfStorage.dtypeF  rt  r   c                 ó"   — t         j                  S r‡   )r‹  Úhalfr
  s    r   rs  zHalfStorage._dtypeK  ó   € ä�z‰zÐr   Nrx  r   r   r   r„  r„  E  ó(   „ Øñó ðð ñó ñr   r„  c                   ó,   — e Zd Zed„ «       Zed„ «       Zy)r.   c                 ó2   — t        d¬«       | j                  S rn  rr  r
  s    r   r^  zLongStorage.dtypeQ  rt  r   c                 ó"   — t         j                  S r‡   )r‹  Úlongr
  s    r   rs  zLongStorage._dtypeV  rˆ  r   Nrx  r   r   r   r.   r.   P  r‰  r   r.   c                   ó,   — e Zd Zed„ «       Zed„ «       Zy)r,   c                 ó2   — t        d¬«       | j                  S rn  rr  r
  s    r   r^  zIntStorage.dtype\  rt  r   c                 ó"   — t         j                  S r‡   )r‹  rï   r
  s    r   rs  zIntStorage._dtypea  s   € ä�y‰yÐr   Nrx  r   r   r   r,   r,   [  s(   „ Øñó ðð ñó ñr   r,   c                   ó,   — e Zd Zed„ «       Zed„ «       Zy)r0   c                 ó2   — t        d¬«       | j                  S rn  rr  r
  s    r   r^  zShortStorage.dtypeg  rt  r   c                 ó"   — t         j                  S r‡   )r‹  Úshortr
  s    r   rs  zShortStorage._dtypel  rw  r   Nrx  r   r   r   r0   r0   f  ry  r   r0   c                   ó,   — e Zd Zed„ «       Zed„ «       Zy)r%   c                 ó2   — t        d¬«       | j                  S rn  rr  r
  s    r   r^  zCharStorage.dtyper  rt  r   c                 ó"   — t         j                  S r‡   )r‹  Úint8r
  s    r   rs  zCharStorage._dtypew  rˆ  r   Nrx  r   r   r   r%   r%   q  r‰  r   r%   c                   ó,   — e Zd Zed„ «       Zed„ «       Zy)r!   c                 ó2   — t        d¬«       | j                  S rn  rr  r
  s    r   r^  zBoolStorage.dtype}  rt  r   c                 ó"   — t         j                  S r‡   )r‹  r	  r
  s    r   rs  zBoolStorage._dtype‚  rˆ  r   Nrx  r   r   r   r!   r!   |  r‰  r   r!   c                   ó,   — e Zd Zed„ «       Zed„ «       Zy)ÚBFloat16Storagec                 ó2   — t        d¬«       | j                  S rn  rr  r
  s    r   r^  zBFloat16Storage.dtypeˆ  rt  r   c                 ó"   — t         j                  S r‡   )r‹  Úbfloat16r
  s    r   rs  zBFloat16Storage._dtype�  ó   € ä�~‰~Ðr   Nrx  r   r   r   r�  r�  ‡  ó(   „ Øñó ðð ñó ñr   r�  c                   ó,   — e Zd Zed„ «       Zed„ «       Zy)ÚComplexDoubleStoragec                 ó2   — t        d¬«       | j                  S rn  rr  r
  s    r   r^  zComplexDoubleStorage.dtype“  rt  r   c                 ó"   — t         j                  S r‡   )r‹  Úcdoubler
  s    r   rs  zComplexDoubleStorage._dtype˜  s   € ä�}‰}Ðr   Nrx  r   r   r   r¤  r¤  ’  s(   „ Øñó ðð ñó ñr   r¤  c                   ó,   — e Zd Zed„ «       Zed„ «       Zy)ÚComplexFloatStoragec                 ó2   — t        d¬«       | j                  S rn  rr  r
  s    r   r^  zComplexFloatStorage.dtypež  rt  r   c                 ó"   — t         j                  S r‡   )r‹  Úcfloatr
  s    r   rs  zComplexFloatStorage._dtype£  r~  r   Nrx  r   r   r   r©  r©  �  r  r   r©  c                   ó,   — e Zd Zed„ «       Zed„ «       Zy)ÚQUInt8Storagec                 ó2   — t        d¬«       | j                  S rn  rr  r
  s    r   r^  zQUInt8Storage.dtype©  rt  r   c                 ó"   — t         j                  S r‡   )r‹  Úquint8r
  s    r   rs  zQUInt8Storage._dtype®  r~  r   Nrx  r   r   r   r®  r®  ¨  r  r   r®  c                   ó,   — e Zd Zed„ «       Zed„ «       Zy)ÚQInt8Storagec                 ó2   — t        d¬«       | j                  S rn  rr  r
  s    r   r^  zQInt8Storage.dtype´  rt  r   c                 ó"   — t         j                  S r‡   )r‹  Úqint8r
  s    r   rs  zQInt8Storage._dtype¹  rw  r   Nrx  r   r   r   r³  r³  ³  ry  r   r³  c                   ó,   — e Zd Zed„ «       Zed„ «       Zy)ÚQInt32Storagec                 ó2   — t        d¬«       | j                  S rn  rr  r
  s    r   r^  zQInt32Storage.dtype¿  rt  r   c                 ó"   — t         j                  S r‡   )r‹  Úqint32r
  s    r   rs  zQInt32Storage._dtypeÄ  r~  r   Nrx  r   r   r   r¸  r¸  ¾  r  r   r¸  c                   ó,   — e Zd Zed„ «       Zed„ «       Zy)ÚQUInt4x2Storagec                 ó2   — t        d¬«       | j                  S rn  rr  r
  s    r   r^  zQUInt4x2Storage.dtypeÊ  rt  r   c                 ó"   — t         j                  S r‡   )r‹  Úquint4x2r
  s    r   rs  zQUInt4x2Storage._dtypeÏ  r¡  r   Nrx  r   r   r   r½  r½  É  r¢  r   r½  c                   ó,   — e Zd Zed„ «       Zed„ «       Zy)ÚQUInt2x4Storagec                 ó2   — t        d¬«       | j                  S rn  rr  r
  s    r   r^  zQUInt2x4Storage.dtypeÕ  rt  r   c                 ó"   — t         j                  S r‡   )r‹  Úquint2x4r
  s    r   rs  zQUInt2x4Storage._dtypeÚ  r¡  r   Nrx  r   r   r   rÂ  rÂ  Ô  r¢  r   rÂ  r  Ú_tensor_classes)ÚampÚrandomÚserialization)rW   )r9   r+   )rC   rE   rL   rR   rX   )rJ   rQ   c                  ó  — t        «       st        j                  «       dk(  ryt        ddd«      } t	        t        d«      «       t
        j                  j                  | «      st        d| z   «      ‚| j                  d«      S )Nr×   r   r‹  rn   Útorch_shm_managerz$Unable to find torch_shm_manager at zutf-8)
r   r¥   rÑ   r   r   rs   rt   ru   r6  Úencode)rt   s    r   Ú_manager_pathrÍ    se   € ÜÔ¤§¡Ó!2°iÒ!?ØÜ˜ %Ð)<Ó=€DÜ'¬°gÓ(>Ô?Ü�7‰7�>‰>˜$ÔÜÐAÀDÑHÓIÐIØ�;‰;�wÓÐr   )Ú
unique_dimrà  Úsegment_reducec              #   ór   K  — | ]/  }t        t        t        |«      t        j                  «      sŒ,|–— Œ1 y ­wr‡   )r  rá  r‹  r^  )rx   rã  s     r   rz   rz   >  s)   è ø€ ò Ø¤:¬g´e¸TÓ.BÄEÇKÁKÕ#P„Dñùs   ‚-7°7)Ú_disable_dynamo)Ú_VFÚ
functionalc                 ó²   — t        | «      t        j                  ur3t        j                  | f«      rt        j
                  t        | f| |«      S | sJ |«       ‚y)zAA wrapper around Python's assert which is symbolically traceable.N)rÈ  r‹  r5   r¼  rÆ  r¾  Ú_assert)Ú	conditionrA  s     r   rÕ  rÕ  ^  sS   € äˆIƒœeŸl™lÑ*¬y×/KÑ/KØ	ˆô0ô ×.Ñ.Ü�i�\ 9¨gó
ð 	
ñ Ð�gÓ‰9r   )r=   rD   rN   Úset_grad_enabled)Ú
__config__Ú
__future__Ú_awaitsÚacceleratorÚautogradÚbackendsr  rk   ÚdistributedÚdistributionsÚfftÚfuturesÚhubÚjitÚlinalgÚmpsÚmtiaÚmultiprocessingÚnestedÚnnÚoptimr¼  ÚprofilerÚsparseÚspecialÚtestingÚtypesÚutilsÚxpu)Úwindows)Úao)Ú
_size_docsÚ_storage_docsÚ_tensor_docsÚ_torch_docsc                  ó"   — t         j                  S )z?Returns whether PyTorch was built with _GLIBCXX_USE_CXX11_ABI=1)rù  Ú_GLIBCXX_USE_CXX11_ABIr   r   r   Úcompiled_with_cxx11_abirú  ¯  s   € ä×$Ñ$Ð$r   )Ú_libraryÚ_ops)Úops)Úclassesz.opsz.classes)Úquantization)Úquasirandom)Úregister_after_fork)rK   )Úmasked)Ú_symeigÚeigÚlstsqÚmatrix_rankÚsolve)Úfrom_dlpackÚ	to_dlpackc                   ó\   — e Zd ZdZd„ Zd„ Zdee   fd„Zdee	ee
f      fd„Zd„ Zd	„ Zd
„ Zy)Ú_TorchCompileInductorWrapperÚinductorc                 ó6  — ddl m} i | _        || _        | j	                  |«       | j                  |«       | j                  |j                  d«      «       | j                  j                  dd«      r'dt        j                  d<   dt        j                  d	<   y y )
Nr   ©ÚCompilerBisectorr  útriton.cudagraphsFÚ1ÚDISABLE_CUPTI_LAZY_REINITÚ0ÚTEARDOWN_CUPTI)
Ú!torch._inductor.compiler_bisectorr  ÚconfigÚdynamicÚ
apply_modeÚapply_optionsÚget_config_changer   rs   r¯   )r  rÚ   Úoptionsr  r  s        r   r  z%_TorchCompileInductorWrapper.__init__ï  s   € ÝFà')ˆŒØˆŒØ�‰˜ÔØ×Ñ˜7Ô#Ø×ÑÐ+×=Ñ=¸jÓIÔJà�;‰;�?‰?Ð.°Ô6Ø69ŒB�J‰JÐ2Ñ3ð
 ,/ŒB�J‰JÐ'Ò(ð 7r   c                 óŽ   — t        |t        «      xr4 | j                  |j                  k(  xr | j                  |j                  k(  S r‡   )r  r  r  r  r  s     r   r7  z#_TorchCompileInductorWrapper.__eq__ 	  s<   € ä�uÔ:Ó;ò .Ø—‘˜uŸ|™|Ñ+ò.à—‘ §¡Ñ-ð	
r   rÚ   c                 óf   — |r/|dk7  r)ddl m} | j                   ||| j                  «      «       y y y )Nr2  r   )Úlist_mode_options)Útorch._inductorr  r  r  )r  rÚ   r  s      r   r  z'_TorchCompileInductorWrapper.apply_mode	  s0   € Ù�D˜IÒ%Ý9à×ÑÑ0°°t·|±|ÓDÕEð &ˆ4r   r  c           
      óÒ  — |sy ddl m} |j                  «       }|j                  «       D ]»  \  }}|j	                  dd«      }||vr(t        d|› dt        |j                  «       «      › �«      ‚|j                  |«      }t        |«      €Mt        ||«      sAt        |«      j                  }t        ||   «      j                  }	t        d|› d|› d	|	› �«      ‚|| j                  |<   Œ½ y )
Nr   ©r  ú-r‚   zUnexpected optimization option z, known options are zUnexpected type of attr z, got z should be )r  r  Úget_config_copyrò   r™   r6  ÚlistÚkeysÚget_typeÚ_get_originr  rÈ  rw  )
r  r  r  Úcurrent_configÚkeyÚvalÚ	attr_nameÚ	attr_typeÚval_type_strÚexpected_type_strs
             r   r  z*_TorchCompileInductorWrapper.apply_options	  sù   € ÙØå*à*0×*@Ñ*@Ó*BˆàŸ™›ò 	)‰HˆC�ØŸ™ C¨Ó-ˆIØ Ñ.Ü"Ø5°c°UÐ:NÌtÐTb×TgÑTgÓTiÓOjÐNkÐlóð ð Ÿ™¨	Ó2ˆIô ˜9Ó%Ð-Ü! # yÔ1Ü#'¨£9×#5Ñ#5�LÜ(,¨^¸IÑ-FÓ(G×(PÑ(PÐ%Ü&Ø2°3°%°v¸l¸^È;ÐWhÐViÐjóð ð &)ˆD�K‰K˜	Ò"ñ#	)r   c                 ó8   — ddl m}  |||| j                  ¬«      S )Nr   )Ú
compile_fx©Úconfig_patches)Útorch._inductor.compile_fxr0  r  )r  Úmodel_Úinputs_r0  s       r   Ú__call__z%_TorchCompileInductorWrapper.__call__(	  s   € Ý9á˜& '¸$¿+¹+ÔFÐFr   c                 ó4   — ddl m}  || j                  ¬«      S )Nr   )Úget_patched_config_dictr1  )r3  r8  r  )r  r8  s     r   Úget_compiler_configz0_TorchCompileInductorWrapper.get_compiler_config-	  s   € ÝFá&°d·k±kÔBÐBr   c                 ó®   — ddl m} d| j                  v s|j                  j                  r+| j                  j	                  dd«      rddlm}  |«        y y y )Nr   r!  r  T)Úreset_cudagraph_trees)r  r  ÚtritonÚ
cudagraphsr   Útorch._inductor.cudagraph_treesr;  )r  r  r;  s      r   Úresetz"_TorchCompileInductorWrapper.reset2	  sD   € Ý*à $§+¡+Ñ-°·±×1IÒ1IØ�{‰{�‰Ð2°DÔ9ÝQá%Õ'ð :ð 2Jr   N)rw  rx  ry  Úcompiler_namer  r7  Ú	_Optionalr¨  r  ÚdictÚ_Anyr  r6  r9  r?  r   r   r   r  r  ì  sM   „ Ø€Mò/ò"
ðF˜y¨™~ó Fð) Y¨t°C¸°I©Ñ%?ó )ò6Gò
Có
(r   r  c                   ó$   — e Zd Zd„ Zd„ Zd„ Zd„ Zy)Ú_TorchCompileWrapperc                 ó"  — ddl m} t        |t        «      r|| _        n.t        |d«      r|j                  | _        nt        |«      | _        || _         ||«      | _        i | _	        |r|dk7  r|| j                  d<   |r|| j                  d<   y y )Nr   )Úlookup_backendrw  r2  rÚ   r  )
Útorch._dynamo.backends.registryrG  r  r¨  r@  r�   rw  r  Úcompiler_fnÚkwargs)r  ÚbackendrÚ   r  r  rG  s         r   r  z_TorchCompileWrapper.__init__=	  s„   € ÝBä�gœsÔ#Ø!(ˆDÕÜ�W˜jÔ)Ø!(×!1Ñ!1ˆDÕä!$ W£ˆDÔØˆŒÙ)¨'Ó2ˆÔØˆŒá�D˜IÒ%Ø"&ˆD�K‰K˜ÑÙØ%,ˆD�K‰K˜	Ò"ð r   c                 óÄ   — t        |t        «      xrO | j                  |j                  k(  xr4 | j                  |j                  k(  xr | j                  |j                  k(  S r‡   )r  rE  rI  rJ  r  r  s     r   r7  z_TorchCompileWrapper.__eq__O	  sW   € ä�uÔ2Ó3ò .Ø× Ñ  E×$5Ñ$5Ñ5ò.à—‘˜uŸ|™|Ñ+ò.ð —‘ §¡Ñ-ð		
r   c                 ó>   —  | j                   ||fi | j                  ¤ŽS r‡   )rI  rJ  )r  r4  r5  s      r   r6  z_TorchCompileWrapper.__call__W	  s    € Øˆt×Ñ ¨Ñ?°4·;±;Ñ?Ð?r   c                 óf   — t        | j                  d«      r| j                  j                  «        y y )Nr?  )r�   rI  r?  r
  s    r   r?  z_TorchCompileWrapper.resetZ	  s)   € Ü�4×#Ñ# WÔ-Ø×Ñ×"Ñ"Õ$ð .r   N)rw  rx  ry  r  r7  r6  r?  r   r   r   rE  rE  <	  s   „ ò-ò$
ò@ó%r   rE  Ú_InputTÚ_RetTr  ©Ú	fullgraphr  rK  rÚ   r  ÚdisableÚmodelrR  r  rK  r  rS  c                 ó   — y r‡   r   ©rT  rR  r  rK  rÚ   r  rS  s          r   r;   r;   c	  s   € ð !$r   c                 ó   — y r‡   r   rV  s          r   r;   r;   p	  s	   € ð ILr   c                ó  ‡‡‡‡‡‡— ddl }t        j                  d«       t        j                  dk\  rt        d«      ‚|j                  d«      dk(  rt        d«      ‚| €3d	t        t        t        f   d
t        t        t        f   fˆˆˆˆˆˆfd„}|S ‰�‰�t        d«      ‚‰€‰€dŠddl
m}	 |	j                  «       x}
r|
Š‰dk(  rt        ‰‰‰«      Šnt        ‰‰‰‰«      Št        j                   j#                  ‰‰‰‰¬«      | «      S )a×  
    Optimizes given model/function using TorchDynamo and specified backend.
    If you are compiling an :class:`torch.nn.Module`, you can also use :meth:`torch.nn.Module.compile`
    to compile the module inplace without changing its structure.

    Concretely, for every frame executed within the compiled region, we will attempt
    to compile it and cache the compiled result on the code object for future
    use.  A single frame may be compiled multiple times if previous compiled
    results are not applicable for subsequent calls (this is called a "guard
    failure), you can use TORCH_LOGS=guards to debug these situations.
    Multiple compiled results can be associated with a frame up to
    ``torch._dynamo.config.recompile_limit``, which defaults to 8; at which
    point we will fall back to eager.  Note that compile caches are per
    *code object*, not frame; if you dynamically create multiple copies of a
    function, they will all share the same code cache.

    Args:
       model (Callable): Module/function to optimize
       fullgraph (bool): If False (default), torch.compile attempts to discover compileable regions
        in the function that it will optimize. If True, then we require that the entire function be
        capturable into a single graph. If this is not possible (that is, if there are graph breaks),
        then this will raise an error.
       dynamic (bool or None): Use dynamic shape tracing.  When this is True, we will up-front attempt
        to generate a kernel that is as dynamic as possible to avoid recompilations when
        sizes change.  This may not always work as some operations/optimizations will
        force specialization; use TORCH_LOGS=dynamic to debug overspecialization.
        When this is False, we will NEVER generate dynamic kernels, we will always specialize.
        By default (None), we automatically detect if dynamism has occurred and compile a more
        dynamic kernel upon recompile.
       backend (str or Callable): backend to be used

        - "inductor" is the default backend, which is a good balance between performance and overhead

        - Non experimental in-tree backends can be seen with `torch._dynamo.list_backends()`

        - Experimental or debug in-tree backends can be seen with `torch._dynamo.list_backends(None)`

        - To register an out-of-tree custom backend:
          https://pytorch.org/docs/main/torch.compiler_custom_backends.html#registering-custom-backends
       mode (str): Can be either "default", "reduce-overhead", "max-autotune" or "max-autotune-no-cudagraphs"

        - "default" is the default mode, which is a good balance between performance and overhead

        - "reduce-overhead" is a mode that reduces the overhead of python with CUDA graphs,
          useful for small batches.  Reduction of overhead can come at the cost of more memory
          usage, as we will cache the workspace memory required for the invocation so that we
          do not have to reallocate it on subsequent runs.  Reduction of overhead is not guaranteed
          to work; today, we only reduce overhead for CUDA only graphs which do not mutate inputs.
          There are other circumstances where CUDA graphs are not applicable; use TORCH_LOG=perf_hints
          to debug.

        - "max-autotune" is a mode that leverages Triton or template based matrix multiplications
          on supported devices and Triton based convolutions on GPU.
          It enables CUDA graphs by default on GPU.

        - "max-autotune-no-cudagraphs" is a mode similar to "max-autotune" but without CUDA graphs

        - To see the exact configs that each mode sets you can call `torch._inductor.list_mode_options()`

       options (dict): A dictionary of options to pass to the backend. Some notable ones to try out are

        - `epilogue_fusion` which fuses pointwise ops into templates. Requires `max_autotune` to also be set

        - `max_autotune` which will profile to pick the best matmul configuration

        - `fallback_random` which is useful when debugging accuracy issues

        - `shape_padding` which pads matrix shapes to better align loads on GPUs especially for tensor cores

        - `triton.cudagraphs` which will reduce the overhead of python with CUDA graphs

        - `trace.enabled` which is the most useful debugging flag to turn on

        - `trace.graph_diagram` which will show you a picture of your graph after fusion

        - For inductor you can see the full list of configs that it supports by calling `torch._inductor.list_options()`
       disable (bool): Turn torch.compile() into a no-op for testing

    Example::

        @torch.compile(options={"triton.cudagraphs": True}, fullgraph=True)
        def foo(x):
            return torch.sin(x) + torch.cos(x)

    r   Nztorch.compile)ro  é   z.torch.compile is not supported on Python 3.14+ÚPy_GIL_DISABLEDr   z@torch.compile is not supported on Python built with GIL disabledrT  r   c           	      óB   •— | €t        d«      ‚t        | ‰‰‰‰‰‰¬«      S )NzModel can't be NonerQ  )r6  r;   )rT  rK  rS  r  rR  rÚ   r  s    €€€€€€r   râ  zcompile.<locals>.fnì	  s6   ø€ Øˆ}Ü"Ð#8Ó9Ð9ÜØØ#ØØØØØôð r   zVEither mode or options can be specified, but both can't be specified at the same time.r2  r  r  )rK  Únopythonr  rS  )rŽ   rù  Ú_log_api_usage_oncer   Úversion_infor6  r”   Ú	_CallablerO  rP  r  r  Úget_backendr  rE  r‹  Ú_dynamoÚoptimize)rT  rR  r  rK  rÚ   r  rS  rŽ   râ  r  Úbisect_backends    ``````    r   r;   r;   }	  s,  ý€ óD ä×Ñ˜?Ô+Ü
×Ñ˜7Ò"ÜÐKÓLÐLØ	×	!Ñ	!Ð"3Ó	4¸Ò	9ÜØNó
ð 	
ð
 €}ð	”i¤¬ Ñ/ð 	´I¼gÄu¸nÑ4M÷ 	ò 	ð ˆ	àÐ˜GÐ/ÜØdó
ð 	
ð €|˜˜ØˆåBà)×5Ñ5Ó7Ð7€~Ð7Ø ˆà�*ÒÜ.¨t°W¸gÓF‰ä& w°°g¸wÓGˆä�=‰=×!Ñ!ØØØØð	 "ó ð
 óð r   c           	      ó.  — t        j                  | «      j                  } t        j                  t
           }t        || «      rt        d| › dt        || «      › d�«      ‚t        || |«       dj                  t
        | g«      }|t        j                  |<   y)zùRegister an external runtime module of the specific :attr:`device_type`
    supported by torch.

    After the :attr:`module` is registered correctly, the user can refer
    the external runtime module as part of torch with attribute torch.xxx.
    zThe runtime module of 'z$' has already been registered with 'ú'r�   N)r‹  r  rÈ  r   r   rw  r�   r6  rá  Úsetattrrv   )Údevice_typer  ÚmÚtorch_module_names       r   Ú_register_device_modulerj  
  s�   € ô —,‘,˜{Ó+×0Ñ0€KÜ�‰”HÑ€AÜˆq�+ÔÜØ% k ]ð 3%Ü%,¨Q°Ó%<Ð$=¸Qð@ó
ð 	
ô ˆAˆ{˜FÔ#ØŸ™¤(¨KÐ!8Ó9ÐØ%+„C‡K�KÐ!Ò"r   )r>   ÚfuncÚlibraryÚreturn_types)r<   Ú
while_loop)rg   )Ú_meta_registrationsÚTORCH_CUDA_SANITIZER)Úfx)Úcompilerc                   óx   — e Zd ZU ej                  j                  dd«      Zi Zee	e
e
f   ef   ed<   ed„ «       Zy)Ú_TritonLibraryr<  ÚDEFÚ	ops_tablec                 óÜ   — ||f| j                   vrL| j                  j                  |«       | j                  j                  d|z   ||«       || j                   ||f<   | j                   ||f   S )Nztriton::)rv  ro   ÚdefineÚimpl)ÚclsÚop_keyÚfull_schemaÚop_implÚdispatch_keys        r   Ú
registerOpz_TritonLibrary.registerOpJ
  sc   € à˜Ð%¨S¯]©]Ñ:Ø—‘—‘˜{Ô+Ø—‘—‘˜Z¨&Ñ0°'¸<ÔHØ8?�—‘˜v |Ð4Ñ5à—=‘= &¨,Ð!7Ñ8Ð8r   N)rw  rx  ry  r‹  rl  rm   ro   rv  rB  r{  r¨  r_  Ú__annotations__Úclassmethodr  r   r   r   rt  rt  F
  sF   … Ø�m‰m×#Ñ# H¨eÓ4ˆØ68ˆ	�4˜˜c 3˜h™¨Ð2Ñ3Ó8à	ñ	9ó 
ñ	9r   rt  )Úhas_mpsÚhas_cudaÚ	has_cudnnÚ
has_mkldnn)ra  Ú	_inductorÚ_subclassesÚonnx>   rˆ  ra  Ú_exportr†  c           	      ó  — t         j                  | «      }|�<dd l}|j                  d| › d|j                  › d|j
                  › d�d¬«        |«       S | t        v rt        j                  d| › �t
        «      S t        dt
        › d	| › d�«      ‚)
Nr   re  z' is deprecated, please use 'r�   z()'r5  rp  zmodule 'z' has no attribute ')
Ú_deprecated_attrsr   Úwarningsr3  rx  rw  Ú_lazy_modulesÚ	importlibÚimport_moduleÚAttributeError)rã  ÚreplacementrŒ  s      r   Ú__getattr__r’  p
  s    € ä'×+Ñ+¨DÓ1ˆØÐ"Ûà�M‰MØ�D�6Ð6°{×7MÑ7MÐ6NÈaÐP[×PdÑPdÐOeÐehÐiØð ô ñ “=Ð ð ”=Ñ Ü×*Ñ*¨Q¨t¨f¨:´xÓ@Ð@ä˜x¬ zÐ1EÀdÀVÈ1ÐMÓNÐNr   c                 ór  — t        | t        j                  «      r| j                  }njt        | t        «      r t        j                  | «      j                  }n:| €)t        j
                  j                  «       j                  }nt        d| › d�«      ‚t        t        |d«      }|€t        d|› d|› d�«      ‚|S )zÒ
    Returns the module associated with a given device(e.g., torch.device('cuda'), "mtia:0", "xpu", ...).
    If no device is given, return the module for the current accelerator or CPU if none is present.
    NzInvalid value of device 'z$', expect torch.device, str, or NonezDevice 'z<' does not have a corresponding module registered as 'torch.z'.)	r  r‹  r  rÈ  r¨  rù  Ú_get_acceleratorr6  rá  )r  Údevice_module_nameÚdevice_modules      r   rA   rA   ƒ
  s·   € ô
 �&œ%Ÿ,™,Ô'Ø#Ÿ[™[ÑÜ	�FœCÔ	 Ü"Ÿ\™\¨&Ó1×6Ñ6ÑØ	ˆä"ŸX™X×6Ñ6Ó8×=Ñ=ÑäØ'¨ xÐ/SÐTó
ð 	
ô œEÐ#5°tÓ<€MØÐÜØÐ)Ð*Ð*fÐgyÐfzÐz|Ð}ó
ð 	
ð Ðr   rÕ  rÉ  c                 ó4   — t        j                  | ||¬«       y)ae  
    This indicates that a given int is size-like, and can be used in any context where a size is expected.
    You will typically use this when reading out integers from Tensors, e.g., max.item() or lengths.tolist()
    which then need to be used as tensor constructors. Providing these assertions to PyTorch can help resolve
      GuardOnDataDependentSymNode errors upon export, since we cannot guard on unbacked SymInts.

    This function has unusual semantics in some circumstances in framework
    code, we will treat this int as >= 2 (when we do a size-oblivious guard).
    This makes it easier to use the unbacked int in size contexts,
    as we will often attempt to guard on a size being zero/one
    (e.g., when computing the contiguity of a tensor, or testing if
    broadcasting can occur), which will not work on unbacked SymInts.
    However, if we conservatively assume that the size is not zero/one, we will
    end up with a graph that will still work even if the size is zero/one.

    For more details, see https://docs.google.com/document/d/1HSuTTVvYH1pTew89Rtpeu84Ht3nQEFTYhAX3Ypa_xJs/edit
    ```
    )rÕ  rÉ  N)r‹  Úsym_constrain_range_for_size)ÚsymbolrÕ  rÉ  s      r   Ú_constrain_as_sizerš  ›
  s   € ô. 
×&Ñ& v°3¸CÖ@r   )Ú_loggingc                  ó  — ddl m}  d}t        j                  dk  r | «       j	                  |d«      }n	 | |¬«      }|D ]  }	 |j                  «       } |«        Œ y	# t        $ r}t        d|j                  › d�«      |‚d	}~ww xY w)
zœ
    Leverage the Python plugin mechanism to load out-of-the-tree device extensions.
    See this RFC: https://github.com/pytorch/pytorch/issues/122468
    r   )Úentry_pointsztorch.backends)ro  é
   r   )Úgroupz&Failed to load the backend extension: zN. You can disable extension auto-loading with TORCH_DEVICE_BACKEND_AUTOLOAD=0.N)	Úimportlib.metadatar�  r   r^  r   rJ   rî   r6  rã  )r�  Ú
group_nameÚbackend_extensionsÚbackend_extensionÚ
entrypointrÆ   s         r   Ú_import_device_backendsr¥  »
  s¢   € õ
 0à!€JÜ
×Ñ˜'Ò!Ù)›^×/Ñ/°
¸BÓ?Ñá)°
Ô;Ðà/ò 
Ðð		à*×/Ñ/Ó1ˆJá�Lñ
øô ò 	ÜØ8Ð9J×9OÑ9OÐ8Pð Q_ð `óð ðûð	ús   ÁAÁ	BÁ&B Â Bc                  ó4   — t        j                  dd«      dk(  S )ab  
    Whether autoloading out-of-the-tree device extensions is enabled.
    The switch depends on the value of the environment variable
    `TORCH_DEVICE_BACKEND_AUTOLOAD`.

    Returns:
        bool: Whether to enable autoloading the extensions. Enabled by default.

    Examples:
        >>> torch._is_device_backend_autoload_enabled()
        True
    ÚTORCH_DEVICE_BACKEND_AUTOLOADr  )rs   r�   r   r   r   Ú#_is_device_backend_autoload_enabledr¨  Õ
  s   € ô �9‰9Ð4°cÓ:¸cÑAÐAr   c                 ó  — t        | «      }|t        j                  u r%t        j                  | t        j
                  ¬«      S |t        j                  u r%t        j                  | t        j                  ¬«      S t        j                  | «      S )z’
    Like torch.as_tensor, but when given Python data types it will keep
    them in full precision.  Used for calling convention for Dynamo.
    )r^  )rÈ  r–   r  r‹  Ú	as_tensorÚfloat64rï   Úint64)rô  Útys     r   Ú_as_tensor_fullprecr®  æ
  s^   € ô
 
ˆa‹€BØ	ŒX�^‰^ÑÜ�‰˜q¬¯©Ô6Ð6Ø	Œx�|‰|Ñ	Ü�‰˜q¬¯©Ô4Ð4ä�‰˜qÓ!Ð!r   )r   Nr‡   )r   r  )r%  ztorch.dtyper   N)NN(C  rz  r–   r›   r€   rŽ  r  r%  rs   r¥   r   r©   Ú	threadingÚtypingr   rC  r   r_  r   r'  r   rA  r   Ú	_overloadr   r	   Ú_TypeVarr
   Ú_UnionÚtyping_extensionsr   Ú
_ParamSpecrï  r   r	  r   Útorch._utilsr   Ú_syncr   r   Útorch._utils_internalr   r   r   r   r    Ú	TypeGuardÚ_TypeIsr   Útorch.torch_versionÚ__all__ÚsortedrÇ   r¨  r$  rÎ   rÕ   rü   r�   rÑ   ÚgetdlopenflagsÚ	old_flagsÚsetdlopenflagsrë   Ú	RTLD_LAZYÚtorch._Cr4   r3   r2   rb   r\   r^   r`   r{  rÈ  rÇ  ra   rc   rä  Ú__fnÚ__nameÚ
__sym_namery  rw  Úglobalsrò  Úappendr_   r]   rø  ÚImportErrorrù  Ú_C_for_compiled_checkr“   rª   r«   r‹  Ú__objr  Úendswithrá  rG  Úisclassrx  Údelattrr   r  rd   rH   rG   Úlocalr  r?   rï   rS   rT   r&  rf   r8   rF   rU   r@   rB   rV   rY   rI   rJ  rŒ  rQ  rT  rW  rY  r\  r`  rb  rc  rd  re  rf  rg  r€  rš   Útorch._tensorr5   rh  Útorch.storageri  rj  rk  r6   r7   r#   r'   r)   r„  r.   r,   r0   r%   r!   r�  r¤  r©  r®  r³  r¸  r½  rÂ  r  r   rÆ  rÇ  rÈ  rÉ  Útorch._tensor_strrW   Ú	torch.ampr9   r+   Útorch.randomrC   rE   rL   rR   rX   Útorch.serializationrJ   rQ   rÍ  Útorch._C._VariableFunctionsrÏ  Ú_segment_reduceÚPRIVATE_OPSÚ_VariableFunctionsr  Útorch._compilerÑ  rÒ  rÓ  Útorch.functionalrÕ  Útorch.autogradr=   rD   rN   r×  rØ  rÙ  rÚ  rÛ  rÜ  rÝ  r  rk   rÞ  rß  rà  rá  râ  rã  rä  rå  ræ  rç  rè  ré  rê  r¼  rë  rì  rí  rî  rð  rñ  Útorch.signalrò  ró  Útorch.nn.intrinsicÚtorch.nn.qatÚtorch.nn.quantizableÚtorch.nn.quantizedÚ_init_namesrô  rõ  rö  r÷  rú  rû  rü  Ú
torch._opsrý  Útorch._classesrþ  r  rÿ  r   Úcontiguous_formatÚlegacy_contiguous_formatÚtorch.multiprocessing._atforkr  Úget_num_threadsÚtorch._lobpcgrK   ÚatenÚquantized_lstmÚquantized_grur  Útorch._linalg_utilsr  Úsymeigr  r  r  r  Útorch.utils.dlpackr  r	  r  rE  rO  rP  rB  r;   rj  r>   rk  rl  rm  Útorch._higher_order_opsr<   rn  Ú
torch.funcrg   ro  r¯   Útorch.cuda._sanitizerÚ
_sanitizerÚcsanÚenable_cuda_sanitizerrÜ  rq  Ú_initrr  rt  Úis_builtrÞ   Úis_availableÚmkldnnr‹  ra  r†  r‡  rˆ  r�  r’  r  rA   rš  r›  Ú
_init_logsr¥  r¨  r®  r   r   r   ú<module>rú     sì  ðòó Û Û Û Û Û Û 	Û Û 
Û Û ÷	÷ 	ó 	õ 6ñ Ý"ðH˜hŸm™mó H÷ñ ÷
ó ñ ÔØ$€KáÛ à#×-Ñ-ˆØ#*ÐÕ å3å>òH€ðV ‘&˜“/Ò!Ð !Ð!ð ‡<�<�7Òón/ñ` ÔØð(˜cð (¨sð (¸cð (ÀdÈ3Áió (ð 3ð °#ð ¸$ó ó"BCñJ " Y R§Y¡YÐ/FÔ%GÙÔ˜o˜hŸo™oÓ/°9Ò<ð$ #�×"Ñ"Ó$€IØ€C×Ñ�r—~‘~¨¯©Ñ4Ô5äà€C×Ñ�yÔ!Ùñ ÙÔÜ÷Bñ B÷Jt2ñ t2÷nA-ñ A-òHò"òò"ð6"˜u U¨4°¨9Ñ%5°u¸TÀ3¸YÑ7GÐ%GÑHó "ò$"ò&Lò.
ð (Ñ €€fˆjðò !€Fð ˜˜Ð!€JÙ˜FÓ#€DØ(2Ð2€DÔ˜œØ �GƒIˆjÒð!!ð& 	ˆ&�*Ð.ñ ‹9�[Ñ!€Ø ‡�ˆzÔ òò%ð
å'õ4 ð �€ˆÙ�"‹gò /€FØˆa�y�CÒ §¡°Ô 7Ø�‰�vÔÙ˜˜FÓ#ˆÙ�EŒ?˜o˜gŸo™o¨eÕ4Ø×Ñ 8Ó+àð "ò ð
 (0�EÕ$Ø	�<Ó	á�—‘˜HÑ% vÕ.ð/ð" ˆEáó
?ñ % RÔ(Ø(ð "�$ð  "˜có  "ðF)�4ð )˜w ~Ñ6ó )ð()�Dð ) ¨Ð/OÑ(PÑ Qó )ð )˜Ÿ™Ó*Ð ó#ð =;Ø�f˜^¨S°(·,±,Ð>Ñ?Ñ@ð=;à	ó=;ð@#˜v d¨>Ñ&:¸CÐ&?Ñ@ð #Èó #ó>2ðp  %òK@Ø
�-‰-ðK@ð �}‰}ðK@ð 
ó	K@ð\.¨h¯m©mó .ð8°x·}±}ó 8ð)
¨V°H·L±LÀ#Ð4EÑ-Fð )
È4ó )
ðX h§l¡ló ð. có .ð?0¨Cð ?0°Dó ?0ðD
�x—}‘}ð 
¨Dó 
ð  §¡ó  ð(à
�—‘ Ð'Ñ
(ð(ð �r˜3�wÑó(ó@-ð$#¨4ô #ó>+ó$+ó$*ó$4ó$Aó8÷2 !Ó  ð €ˆÓ à ‡‚Ò3Ô 4õ !õ %÷õ ô�.ô ô�Nô ô�>ô ô�.ô ô�.ô ô�ô ô�>ô ô�.ô ô�.ô ô�nô ô˜>ô ô˜.ô ô�Nô ô�>ô ô�Nô ô�nô ô�nô ð ØØØØØØØØØØØØØØØØØØð'EÐ �#�d˜6 ,°Ð">Ñ?Ñ@ÑAó ñ. .1«U€��T˜.Ñ)Ñ*Ó 2÷ OÑ NÝ .ß *ß VÕ Vß *ò ð €× Ñ ‘-“/Ô "àñ ô .ð %€OØð €à�€ˆÙ�"×'Ò'Ó(ò €FØ×Ò˜Ô &¨KÑ"7ØÙ�B×)Ò)¨6Ó2€EØ€EÔàÐ!Ò!à!‰‹	�&ÑØ�v‘ˆØ�GƒIˆfÑØ×Ò˜SÕ!Ø�‰�vÕðð ˆEó ð ‡‚ñ Ù˜“Zôô õ +÷ 7Ü ð Øò÷(ó ÷÷ ÷ ÷ ÷ ÷ ÷ õ õ> ,õ
 ó Û Û Û ð €‡‚‰tÐ$Ó%Ô &÷ GÓ Fð �˜}¨jð% §¡ó %÷
 5õ "Ý -à ‡�× Ò ˜(˜ 4Ð(¨#Ô .Ø ‡�× Ò ˜(˜ 8Ð,¨gÔ 6õ /õ -ñ
 -Ñ ÷ >Ð =ò �E×)Ò)Ô *Ù÷ +Ð *ð —’×(Ò(�Ø—’×&Ò&�÷
 #÷÷ ÷ ð ÷ 6Ô 5÷M(ò M(÷` %ò  %ñF �YÓ
�Ù�Ó�ð ð  %Ø(,Ø&0Ø"ØNRØ"ò	$Ø‘W™e�^Ñ$ð	$ð �}‰}ð	$ð �x—}‘}Ñ%ð		$ð
 �C˜�NÑ#ð	$ð ��d�Ñ
ð	$ð ‘t˜C ¨¨X¯\©\¸8¿=¹=Ð(HÑ!IÐIÑJÑKð	$ð �]‰]ð	$ð ‰w™ˆ~Ñò	$ó ñ	$ð àð	Lð  %Ø(,Ø&0Ø"ØNRØ"ò	LØð	Lð �}‰}ð	Lð �x—}‘}Ñ%ð		Lð
 �C˜�NÑ#ð	Lð ��d�Ñ
ð	Lð ‘t˜C ¨¨X¯\©\¸8¿=¹=Ð(HÑ!IÐIÑJÑKð	Lð �]‰]ð	Lð �	™'¡5˜.Ñ)Ð*¨I±g¹u°nÑ,EÐEÑFò	Ló ñ	Lð #'ðTð  %Ø(,Ø&0Ø"ØNRØ"òTØ�YÑðTð �}‰}ðTð �x—}‘}Ñ%ð	Tð
 �C˜�NÑ#ðTð ��d�Ñ
ðTð ‘t˜C ¨¨X¯\©\¸8¿=¹=Ð(HÑ!IÐIÑJÑKðTð �]‰]ðTð Øˆy™¡%˜Ñ(Ð)¨9±W¹e°^Ñ+DÐDÑEØ‰g‘uˆnÑðñôTón,÷(÷ ó ÷ KÔ Jß #Ð #ñ ß)ð ˜RŸZšZÑ'ß(Ó(à�D×ÒÔ ô &ß ð ‡‚× Ò × Ò Ô áÔß*÷9ò 9ð  �~Š~×!Ò!×*Ò*Ø—’×#Ò#×,Ò,Ø—’×%Ò%×2Ò2Ø—.’.×'Ò'×4Ò4ñ	Ñ ñ ÷÷ ô ò�MóOñ&˜i¨¨u¯|ª|¸SÐ/@Ñ(AÑBô ð4 $(Ø#'ñAà	�8—<‘<Ñ	 ðAð 
�8—<‘<Ñ	 ôA÷4 ð �× Ò Ô óð4B¨X¯]©]ô Bó""ò" 'Ô(ÚÕð )øðu8 ò 
Ý,ð ×%Ñ%Ð-ÙØˆH�O‰Oðó÷ ‰e‹gó
ð ð	ð  
ð+
ús   È n îA o