+
    9i                     4    R t ^ RIt^ RIt^ RItR tR tR tR# )z9
Check OS requirements for ONNX Runtime Python Bindings.
Nc                     R p R p\         P                  ! 4       P                  4       pRpRpVR8X  dK   Tp \         P                  ! 4       P                  4       pVR9  d   \        P
                  ! RV R24       R# R# VR8X  d    \        P                  ! V^4      ^R p \        P                  ! V^4      ^R pV '       g5   \        P                  ! V^4      ^R p \        P                  ! V^4      ^R pV P                  4       p VP                  4       pR# VR8X  dj   Tp \         P                  ! 4       P                  4       p\        VP                  R4      ^ ,          4      ^8  d   \        P
                  ! R	V R
24       R# R# VR8X  d2   ^ RI
pVP                  R4      pVP                  R4      pVR,          pR# \        P
                  ! RV R24       R# ) z/etc/os-releasez/etc/lsb-releasewindowszUnsupported Windows version (zP). ONNX Runtime supports Windows 10 and above, or Windows Server 2016 and above.linuxdarwin.zUnsupported macOS version (z-). ONNX Runtime supports macOS 11.0 or later.aixNoslevelzutf-8:N   NzUnsupported platform (zG). ONNX Runtime supports Linux, macOS, AIX and Windows platforms, only.)1011
2016server
2019server
2022server
2025server)platformsystemlowerreleasewarningswarn	linecachegetlineintsplit
subprocesscheck_outputdecode)	__my_distro____my_distro_ver____my_system____OS_RELEASE_FILE____LSB_RELEASE_FILE__r   returned_output__my_distro_ver__str__my_distro_vers	            e/var/www/html/photoedit/myenv/lib/python3.14/site-packages/onnxruntime/capi/onnxruntime_validation.pycheck_distro_infor)      s   MOO%++-M+-	!%$,,.446$hhMM/0A/B  CS  T i 
'	!	 "))*=qA!BG%--.A1EbL %--.BAFr"MM ) 1 12F J2b Q &++--335	(	"%$,,.446 &&s+A./"4MM-.?-@@mn 5 
%	$11)<.55g>.r2$]O3z{	
    c                      R p R pR p ^RI Hp ^RI Hp   ^RI Hp YT3#   \         d     Li ; i  \
         d,   p\        P                  ! R4       \        T4        Rp?LFRp?ii ; i)r   )__version__)package_name)cuda_versionz8WARNING: failed to collect package name and version infoN)	build_and_package_infor,   r-   r.   ImportError	Exceptionr   r   print)r-   versionr.   es       r(   !get_package_name_and_version_infor5   G   sl    LGLB8	< ,..  		  PQas(   0  -0 -0 A&!A!!A&c                    aa	a
a R p Rp ^ RI Hp Rp\        4       w  o
ooV'       dw   S'       do     ^RIH	o	 TV	V
V3R lp^ RIHp V! RSR	7      pS	'       dF   V'       d>   S	V9  d7   V! 4        \        P                  ! R
4       \        P                  ! RV 24       V '       d   V hVS
SS3#   \         d    Rp L\         dC   p ^ RIHp \        Y44      '       d   RpM  \         d    Rp Mi ; iT'       g   Tp  R p?LR p?ii ; i  \         d    \        P                  ! R4       R o	 Li ; i  \         d,   p\        P                  ! R4       \        T4        R p?LR p?ii ; i)NF)	ORTModuleT)ORTModuleInitException)cudart_versionzBWARNING: failed to get cudart_version from onnxruntime build info.c                     < \         P                  ! R S 24       \         P                  ! RS 24       \         P                  ! RS  24       \         P                  ! RS 24       R# )z1onnxruntime training package info: package_name: z0onnxruntime training package info: __version__: z1onnxruntime training package info: cuda_version: z(onnxruntime build info: cudart_version: N)r   r   )r.   r9   r-   r3   s   r(   print_build_package_info7check_training_module.<locals>.print_build_package_info   sZ     QR^Q_`a PQXPYZ[ QR^Q_`a HHXYZr*   )find_cudart_versions)	build_envbuild_cuda_versionzJWARNING: failed to find cudart version that matches onnxruntime build infoz WARNING: found cudart versions: z=WARNING: failed to collect onnxruntime version and build info)onnxruntime.training.ortmoduler7   r0   r1   (onnxruntime.training.ortmodule._fallbackr8   
isinstancer5   r/   r9   r   r   /onnxruntime.capi.onnxruntime_collect_build_infor=   r2   )import_ortmodule_exceptionhas_ortmoduler7   r4   r8   r;   r=   local_cudart_versionsr.   r9   r-   r3   s           @@@@r(   check_training_modulerG   \   sQ   !%M+<, +L*M'L'<	&B
[ [ ]$85]i$j!"7NRg<g(*jk @AV@WXY
 "((,==m   +	"W!44 $ 	"!M	" )*&+4  &bc!%&$  	MMYZ!HH	s   B. D  D5 D5 !=D5 .D	=D	D	C"!D"C2/D1C22
D=DD	#D2/D5 1D22D5 5E+ !E&&E+)__doc__r   r   r   r)   r5   rG    r*   r(   <module>rJ      s%   
   6
r/*>>r*   