+
    G-j C  ã                   ó*  € R t ^ RItRtRt ^ RIHtHtHtHtH	t	H
t
HtHtHtHtHtHtHtHtHtHtHtHtHtHtHtHtHtHtHtHtHtH t H!t!H"t"H#t#H$t$H%t%H&t&H't'H(t(H)t)H*t*H+t+H,t,H-t-H.t. Rt/^ RI2H3t3 ]/'       d   ]/h^ RI4H5t5H6t6H7t7H8t8H9t9H:t:H;t;H<t<H=t=  ^RI>H?t? ]3P‚                  ! 4       w  tBtCtD]C'       d   ]Ct]3PŠ                  ! 4        R R	 ltFRR
 R lltGR R ltHR R ltIRR R lltJR tKRR R lltLR#   ]0 d   t1]1t/ Rt1A1LšRt1A1ii ; i  ]@ d     L~i ; i)a  
ONNX Runtime is a performance-focused scoring engine for Open Neural Network Exchange (ONNX) models.
For more information on ONNX Runtime, please see `aka.ms/onnxruntime <https://aka.ms/onnxruntime/>`_
or the `Github project <https://github.com/microsoft/onnxruntime/>`_.
Nz1.26.0Ú	Microsoft)*ÚExecutionModeÚExecutionOrderÚGraphOptimizationLevelÚLoraAdapterÚModelMetadataÚNodeArgÚOrtAllocatorTypeÚOrtArenaCfgÚOrtCompileApiFlagsÚOrtDeviceMemoryTypeÚOrtEpAssignedNodeÚOrtEpAssignedSubgraphÚOrtEpDeviceÚ OrtExecutionProviderDevicePolicyÚOrtExternalInitializerInfoÚOrtHardwareDeviceÚOrtHardwareDeviceTypeÚOrtMemoryInfoÚOrtMemoryInfoDeviceTypeÚ
OrtMemTypeÚOrtSparseFormatÚOrtSyncStreamÚ
RunOptionsÚSessionIOBindingÚSessionOptionsÚcreate_and_register_allocatorÚ create_and_register_allocator_v2Údisable_telemetry_eventsÚenable_telemetry_eventsÚget_all_providersÚget_available_providersÚget_build_infoÚ
get_deviceÚget_ep_devicesÚget_version_stringÚhas_collective_opsÚ#register_execution_provider_libraryÚset_default_logger_severityÚset_default_logger_verbosityÚset_global_thread_pool_sizesÚset_seedÚ%unregister_execution_provider_library)Úonnxruntime_validation)	ÚAdapterFormatÚInferenceSessionÚ	IOBindingÚModelCompilerÚ	OrtDeviceÚOrtDeviceVendorIdÚOrtValueÚSparseTensorÚcopy_tensors)Úexperimentalc                ó$   € V ^8„  d   QhR\         /# )é   Úpackage_name©Ústr)Úformats   "Úe/Volumes/fast/ai/experiments/nudenet-smoke/.venv/lib/python3.14/site-packages/onnxruntime/__init__.pyÚ__annotate__r?   k   s   € ÷ ñ ¤sñ ó    c                 óH   € ^ RI HpHp  V! V 4      pV#   T d    Rp T# i ; i)é    )ÚPackageNotFoundErrorÚversionN)Úimportlib.metadatarC   rD   )r:   rC   rD   Úpackage_versions   &   r>   Ú_get_package_versionrG   k   s8   € ß@ðÙ! ,Ó/ˆð Ðøð  ô Ø‰ØÐðús   Š ”	! !c                ó>   € V ^8„  d   QhR\         R\         R,          /# )r9   r:   Údirectory_nameNr;   )r=   s   "r>   r?   r?   u   s   € ÷ ñ ¤Cð ¼¸t½ñ r@   c                 óÔ  € ^ RI HpHp T;'       g    T p V! V 4      pVP                  ;'       g    . pV FR  pVP                  P                  R4      '       g   K&  WGP                  9   g   K8  VP                  4       P                  u # 	  V'       gG   V F@  pVP                  P                  R4      '       g   K&  VP                  4       P                  u # 	  R#   T d     R# i ; i)rB   )rC   Údistributionz__init__.pyN)	rE   rC   rK   ÚfilesÚnameÚendswithÚpartsÚlocateÚparent)r:   rI   rC   rK   Úroot_directory_nameÚdistrL   Úfiles   &&      r>   Ú_get_package_rootrU   u   sÀ   € ßEà(×8Ð8¨LÐðÙ˜LÓ)ˆØ—
‘
× Ð ˜bˆãˆDØ�y‰y×!Ñ! -×0Ô0Ð5HÏJÉJÖ5VØ—{‘{“}×+Ñ+Ò+ñ ÷
 Û�Ø—9‘9×%Ñ% m×4Ô4ØŸ;™;›=×/Ñ/Ò/ñ ñ øð	  ô àáð	ús:   –C ±&C ÁC Á.C Â
	C Â#C Â<C ÃC ÃC'Ã&C'c                ó0   € V ^8„  d   QhR\         R\         /# )r9   Úversion_strÚreturnr;   )r=   s   "r>   r?   r?   �   s   € ÷ 	>ñ 	>¬Sð 	>´Sñ 	>r@   c                óF   € V '       d   V P                  R4      ^ ,          # R# )z¼Extract CUDA major version from version string (e.g., '12.1' -> '12').

Args:
    version_str: CUDA version string to parse

Returns:
    Major version as string, or "12" if parsing fails
Ú.Ú12)Úsplit)rW   s   &r>   Ú_extract_cuda_major_versionr]   �   s!   € ÷ )4ˆ;×Ñ˜SÓ! !Õ$Ð=¸Ð=r@   c                ó0   € V ^8„  d   QhR\         R\         /# )r9   Ú
cuda_majorrX   r;   )r=   s   "r>   r?   r?   ™   s   € ÷ 
0ñ 
0¤3ð 
0¬3ñ 
0r@   c                ó   € V R8X  d   R# R# )z¤Get cufft library version based on CUDA major version.

Args:
    cuda_major: CUDA major version as string (e.g., "12", "13")

Returns:
    cufft version as string
Ú13r[   Ú11© )r_   s   &r>   Ú_get_cufft_versionrd   ™   s   € ð  Ô%ˆ4Ð/¨4Ð/r@   c                ó<   € V ^8„  d   QhR\         R\         R\         /# )r9   Ú
is_windowsÚcudaÚcudnn©Úbool)r=   s   "r>   r?   r?   ¦   s&   € ÷ &Qñ &Q¤dð &Q´$ð &QÄdñ &Qr@   c           
      ó>  € \        \        4      p\        V4      pV '       d,   R RRRV R23R RRRV R23R RRRV R23R RRR	V R23.p. ROpM.R RR
RV 23R RR
RV 23R RR
RV 23RR RR
RV 23R RR
RV 23.pR.pV'       d   TM. V'       d	   V,           # . ,           # )ÚnvidiaÚcublasÚbinÚcublasLt64_z.dllÚ	cublas64_ÚcufftÚcufft64_Úcuda_runtimeÚ	cudart64_ÚlibzlibcublasLt.so.zlibcublas.so.Ú
cuda_nvrtczlibnvrtc.so.zlibcufft.so.zlibcudart.so.))rl   rh   rn   z&cudnn_engines_runtime_compiled64_9.dll)rl   rh   rn   z!cudnn_engines_precompiled64_9.dll)rl   rh   rn   zcudnn_heuristic64_9.dll)rl   rh   rn   zcudnn_ops64_9.dll)rl   rh   rn   zcudnn_adv64_9.dll)rl   rh   rn   zcudnn_graph64_9.dll)rl   rh   rn   zcudnn64_9.dll)rl   Úcurandru   zlibcurand.so.10)rl   rh   ru   zlibcudnn.so.9)r]   Úcuda_versionrd   )rf   rg   rh   Úcuda_major_versionÚcufft_versionÚcuda_dll_pathsÚcudnn_dll_pathss   &&&    r>   Ú_get_nvidia_dll_pathsr}   ¦   s  € ä4´\ÓBÐÜ&Ð'9Ó:€Mçð �x ¨+Ð6HÐ5IÈÐ(NÐOØ�x ¨)Ð4FÐ3GÀtÐ(LÐMØ�w ¨°-°ÀÐ'EÐFØ�~ u°	Ð:LÐ9MÈTÐ.RÐSð	
ˆò
‰ð �x ¨/Ð:LÐ9MÐ(NÐOØ�x ¨-Ð8JÐ7KÐ(LÐMØ�| U¨lÐ;MÐ:NÐ,OÐPØ:Ø�w ¨°m°_Ð'EÐFØ�~ u°Ð>PÐ=QÐ.RÐSð
ˆð 8ð
ˆ÷ #‰N¨Ç%¨ÕPÐPÈRÕPÐPr@   c                 óÎ  € ^ RI p ^ RIp^ RIp^ RIHp \        \         R\         24       \        '       d   \        R\         24       \        RVP                  4       4       \        R4       . pV! 4        F‚  pVP                  R,          pVR8X  g   VP                  R(4      '       g   K6  \        VR4      pV'       g   KL  Wd9  g   KT  VP                  V4       \        V R	VP                   R
V 24       K„  	  \        V4      ^8”  d   \        R4       \        '       d’   \        \        4      pRRV 2RV 2RV 2RV 2RV 2RV 2RV 2.p	V	 F]  pVP                  R4      '       d   RMRp
\!        V4      pV'       d   \        V R	V R
\        Wj4       24       KO  \        V R24       K_  	  VP#                  4       R8X  d*   \        RVP$                  P'                  RR4       24       M=VP#                  4       R8X  d)   \        RVP$                  P'                  RR4       24       V P(                  P+                  R4      '       Ed	   R R  lp^ RIpVP/                  VP1                  4       4      p\        R!4       VP3                  4        F@  pV! VP4                  P7                  4       4      '       g   K+  \        VP4                  4       KB  	  \        '       ds   V P(                  P+                  R"4      '       dE   V P(                  P+                  R#4      '       d$   ^R$IHp \        R%4       \        V! 4       4       R# \        R&4       R# R# \        R'4       R# ))z$Print information to help debugging.N)Údistributionsz
 version: zCUDA version used in build: z	platform:z&
Python package, version and location:ÚNameÚonnxruntimez==z at z£[33mWARNING: multiple onnxruntime packages are installed to the same location. Please 'pip uninstall` all above packages, then `pip install` only one of them.[0mÚtorchznvidia-cuda-runtime-cuznvidia-cudnn-cuznvidia-cublas-cuznvidia-cufft-cuznvidia-curand-cuznvidia-cuda-nvrtc-cuznvidia-nvjitlink-cuznvidia-rl   z not installedÚWindowsz
Environment variable:
PATH=ÚPATHz(unset)ÚLinuxz'
Environment variable:
LD_LIBRARY_PATH=ÚLD_LIBRARY_PATHÚpsutilc                ó$   € V ^8„  d   QhR\         /# )r9   Úpathr;   )r=   s   "r>   r?   Ú&print_debug_info.<locals>.__annotate__	  s   € ÷ 	Gñ 	G¤ñ 	Gr@   c                 ó¤   a € R R.p\         '       d   . ROVOp\        ;QJ d    V 3R lV 4       F  '       g   K   R# 	  R# ! V 3R lV 4       4      # )Úvcruntime140Úmsvcp140c              3   ó,   <"  € T F	  qS9   x € K  	  R # 5i©Nrc   )Ú.0Úkeywordr‰   s   & €r>   Ú	<genexpr>Ú:print_debug_info.<locals>.is_target_dll.<locals>.<genexpr>  s   øé € ÐF±o¨7 $–³oùs   ƒTF)rq   rm   ÚcudartÚnvrtcrw   rh   )rx   Úany)r‰   Útarget_keywordss   f r>   Úis_target_dllÚ'print_debug_info.<locals>.is_target_dll	  sF   ø€ Ø-¨zÐ:ˆOß‹|Ú"mÐ]lÐ"m�ß“3ÔF±oÓF—3”3ÐF’3ÐF�3ÔF±oÓFÓFÐFr@   z
List of loaded DLLs:ÚcpuinfoÚpy3nvml)Úget_device_infoz
Device information:zCplease `pip install py-cpuinfo py3nvml` to show device information.z0please `pip install psutil` to show loaded DLLs.)zonnxruntime-zort-)Úimportlib.utilÚosÚplatformrE   r   Úprintr:   Ú__version__rx   ÚmetadataÚ
startswithrU   ÚappendrD   Úlenr]   rG   ÚsystemÚenvironÚgetÚutilÚ	find_specr‡   ÚProcessÚgetpidÚmemory_mapsr‰   ÚlowerÚtransformers.machine_inforœ   )Ú	importlibrž   rŸ   r   Úort_packagesrS   ÚpackageÚlocationr_   ÚpackagesrI   rD   r˜   r‡   Úpru   rœ   s                    r>   Úprint_debug_infor¶   Ï   sÛ  € ãÛÛÝ0ä	Œ\ˆN˜*¤[ MÐ
2Ô3ßƒ|ÜÐ,¬\¨NÐ;Ô<Ü	ˆ+�x×(Ñ(Ó*Ô+ä	Ð
3Ô4Ø€LÙ–ˆØ—-‘- Õ'ˆØ�mÔ# w×'9Ñ'9Ð:R×'SÔ'Sä(¨°-Ó@ˆHß‰x˜WÖ8Ø×#Ñ# GÔ,Ü˜˜	  D§L¡L >°°h°ZÐ@ÖAñ  ô ˆ<Ó˜1ÔÜðeô	
÷
 ƒ|ä0´Ó>ˆ
ð Ø$ Z LÐ1Ø˜j˜\Ð*Ø˜z˜lÐ+Ø˜j˜\Ð*Ø˜z˜lÐ+Ø" : ,Ð/Ø! * Ð.ð	
ˆó  ˆGØ)0×);Ñ);¸I×)FÒ)F™XÈDˆNÜ*¨7Ó3ˆGßÜ˜˜	  G 9¨DÔ1BÀ7Ó1[Ð0\Ð]Ö^ä˜˜	 Ð0Ö1ñ  ð ‡�Ó˜IÔ%ÜÐ.¨r¯z©z¯~©~¸fÀiÓ/PÐ.QÐRÕSØ	�‰Ó	˜gÔ	%ÜÐ9¸"¿*¹*¿.¹.ÐIZÐ\eÓ:fÐ9gÐhÔià‡~�~×Ñ ×)Ó)õ	Gó 	à�N‰N˜2Ÿ9™9›;Ó'ˆäÐ&Ô'Ø—=‘=–?ˆCÙ˜SŸX™XŸ^™^Ó-×.Ô.Ü�c—h‘h–ñ #÷ ‹<Ø�~‰~×'Ñ'¨	×2Ò2°y·~±~×7OÑ7OÐPY×7ZÒ7ZÝFäÐ-Ô.Ü‘oÓ'Ö(äÐ[Ö\ñ ô 	Ð@ÖAr@   c                ó<   € V ^8„  d   QhR\         R\         R\         /# )r9   rg   rh   Úmsvcri   )r=   s   "r>   r?   r?   $  s+   € ÷ nñ n”tð n¬4ð n¼dñ nr@   c                ó*	  € ^ RI p^ RIp^ RIp^ RIpVP	                  4       R!9  d   R# VP	                  4       R8H  pV'       dR   V'       dJ    VP                  R4       VP                  R4       VP                  4       R8w  d   VP                  R4       Rp	\        '       d[    \        \        P                  R	4      ^ ,          4      p	V	^8  d-   V '       g	   V'       d   \        R
\         R\         R24       R# MV '       g	   V'       d   R# Rp
V'       Ed   \        R4      pRpV'       d]   RV9   dV   \        P                   ! \        4      ;_uu_ 4        VP                  R4      ^,          p\        VR,          4      pRRR4       V'       d   V	'       d   WÉ8H  MRpRVP"                  9   d8   Tp
V'       d.   V	'       d&   WÉ8w  d    \        RV RV R\         RV	 RV	 R24       V'       d5   Vf1   \%        RR4      pV'       d   VP&                  P)                  VR4      pT;'       g    RpVP&                  P+                  V4      '       g:   VP&                  P)                  VP&                  P-                  \.        4      V4      pVP&                  P1                  V4      pVP&                  P3                  V4      '       g   \5        RV R24      hV
'       d   \        R4       R# \7        W€V4      p. pV F™  pV'       d$   VP&                  P)                  VVR",          4      MVP&                  P(                  ! V.VO5!  pVP&                  P9                  V4      '       g   Ko   VP                  V4      pVP;                  VR",          4       K›  	  RpV F'  pVR",          pVV9  g   K   VP                  V4      pK)  	  V'       d   \        R 4       R# R#   \         d    \        R4       \        R4        ELmi ; i  \         d    \        R\         R24        R# i ; i  + '       g   i     EL±; i  \<         d   p\        RT RT 24        Rp?EKg  Rp?ii ; i  \<         d   pRp\        RT RT 24        Rp?Kò  Rp?ii ; i)#a  Preload CUDA 12.x+ and cuDNN 9.x DLLs in Windows or Linux, and MSVC runtime DLLs in Windows.

   When the installed PyTorch is compatible (using same major version of CUDA and cuDNN),
   there is no need to call this function if `import torch` is done before `import onnxruntime`.

Args:
    cuda (bool, optional): enable loading CUDA DLLs. Defaults to True.
    cudnn (bool, optional): enable loading cuDNN DLLs. Defaults to True.
    msvc (bool, optional): enable loading MSVC DLLs in Windows. Defaults to True.
    directory(str, optional): a directory contains CUDA or cuDNN DLLs. It can be an absolute path,
       or a path relative to the directory of this file.
       If directory is None (default value), the search order: the lib directory of compatible PyTorch in Windows,
        nvidia site packages, default DLL loading paths.
       If directory is empty string (""), the search order: nvidia site packages, default DLL loading paths.
       If directory is a path, the search order: the directory, default DLL loading paths.
Nrƒ   zvcruntime140.dllzmsvcp140.dllÚARM64zvcruntime140_1.dllz]Microsoft Visual C++ Redistributable is not installed, this may lead to the DLL load failure.zGIt can be downloaded at https://aka.ms/vs/17/release/vc_redist.x64.exe.rZ   z[33mWARNING: z is built with CUDA z, which is not supported for preloading. CUDA 12.x or newer is required. Call preload_dlls with cuda=False and cudnn=False.[0mz,[33mWARNING: Unable to parse CUDA version 'zR'. Skipping DLL preloading. Call preload_dlls with cuda=False and cudnn=False.[0mFr‚   z+cu:Nr9   Nz$[33mWARNING: The installed PyTorch z uses CUDA z.x, but z$.x. Please install PyTorch for CUDA z.x to be compatible.[0mru   z..zInvalid parameter of directory=z. The directory does not exist!z9Skip loading CUDA and cuDNN DLLs since torch is imported.zFailed to load z: Tz\Please follow https://onnxruntime.ai/docs/install/#cuda-and-cudnn to install CUDA and CuDNN.)rƒ   r…   éÿÿÿÿ)Úctypesrž   rŸ   Úsysr¦   ÚCDLLÚmachineÚOSErrorr    rx   Úintr\   r:   Ú
ValueErrorrG   Ú
contextlibÚsuppressÚmodulesrU   r‰   ÚjoinÚisabsÚdirnameÚ__file__ÚnormpathÚisdirÚRuntimeErrorr}   Úisfiler¤   Ú	Exception)rg   rh   r¸   Ú	directoryr¼   rž   rŸ   r½   rf   Úort_cuda_majorÚis_cuda_cudnn_imported_by_torchÚtorch_versionÚtorch_cuda_majorÚcu_partÚis_torch_cuda_compatibleÚ
torch_rootÚbase_directoryÚ	dll_pathsÚloaded_dllsÚrelative_pathÚdll_pathÚ_ÚeÚhas_failureÚdll_filenames   &&&&                     r>   Úpreload_dllsrà   $  s  € ó" ÛÛÛà‡�ÓÐ 4Ô4Ùà—‘Ó" iÑ/€Jß—dð	]Ø�K‰KÐ*Ô+Ø�K‰K˜Ô'Ø×ÑÓ! WÔ,Ø—‘Ð0Ô1ð €Nßƒ|ð	Ü ¤×!3Ñ!3°CÓ!8¸Õ!;Ó<ˆNØ Ô"¯·ÜØ'¬ ~Ð5IÌ,Èð Xpð qôñ ø÷ 
—áà&+Ð#ç€zÜ,¨WÓ5ˆàÐß˜U mÔ3Ü×$Ò$¤Z×0Õ0à'×-Ñ-¨eÓ4°QÕ7�Ü#& w¨r¥{Ó#3Ð ÷ 1÷ 4DÏÐÒ.Ð]bð 	!ð �c—k‘kÔ!Ø.FÐ+ß§NÐ7GÔ7YÜØ=¸m¸_ÈKÐXhÐWið jÜ'˜.Ð(<¸^Ð<Lð M7Ø7EÐ6FÐFaðcô÷ $¨	Ò(9Ü*¨7°GÓ<ˆJßØŸG™GŸL™L¨°UÓ;�	à×&Ð& $€NØ�7‰7�=‰=˜×(Ò(ØŸ™Ÿ™ b§g¡g§o¡o´hÓ&?ÀÓPˆØ—W‘W×%Ñ% nÓ5€NØ�7‰7�=‰=˜×(Ò(ÜÐ<¸Y¸KÐGfÐgÓhÐhç&äÐIÔJÙô & j¸Ó>€IØ€KÛ"ˆ÷ ð �G‰G�L‰L˜¨°rÕ):Ô;à—‘—’˜nÐ=¨}Ó=ð 	ð
 �7‰7�>‰>˜(×#Ô#ð9Ø—K‘K Ó)�Ø×"Ñ" =°Õ#4Ö5ñ #ð €KÛ"ˆØ$ RÕ(ˆØ˜{Ö*ð=Ø—K‘K Ó-’ñ	 #÷ ÜÐlÖmñ øô} ô 	]ÜÐqÔrÜÐ[×\ð	]ûô ô 	ÜØAÄ,Àð Peð eôò ð	ú÷" 1×0Ð0ûô` ô 9Ü˜¨ z°°A°3Ð7×8Ó8ûð9ûô ô =Ø"�Ü˜¨ ~°R¸°sÐ;×<Ò<ûð=úsm   ÁAO Â#3P ÃP ÃP Å+P*Í*)P>Î1Q)Ï!PÐPÐP'Ð&P'Ð*P;	Ð>Q&Ñ	Q!Ñ!Q&Ñ)RÑ4RÒRr�   )TT)TTTN)MÚ__doc__rÃ   r¡   Ú
__author__Úonnxruntime.capi._pybind_stater   r   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   Úimport_capi_exceptionrÎ   rÝ   Úonnxruntime.capir-   Ú1onnxruntime.capi.onnxruntime_inference_collectionr.   r/   r0   r1   r2   r3   r4   r5   r6   Ú r7   ÚImportErrorÚ!get_package_name_and_version_infor:   rD   rx   Úcheck_distro_inforG   rU   r]   rd   r}   r¶   rà   rc   r@   r>   Ú<module>rë      s  ðñ
ó à€Ø€
ð0÷+÷ +÷ +÷ +÷ +÷ +÷ +÷ +÷ +÷ +÷ +ðZ !Ðõ 4çØ
Ð÷
÷ 
õ 
ð	Ýð
 '=×&^Ò&^Ó&`Ñ #€ˆg�|ç
Ø€Kà × (Ò (Ô *õ÷õ0	>õ
0÷&QòRRB÷jnñ nøðy ô ØÕûðûð. ô 	Ùð	ús*   ŒAC2 ÂD Ã2DÃ9D Ä DÄDÄD