ó
    Eñi­
  ã                   óf   • S SK r S SKrSSKJr  S rS r\" S5      (       a  S rS rS	 r\" 5         g)
é    Né   )Ú_get_extension_pathc           	      ó>  •  [        U 5      n[        R                  R                  U5        g! [        [
        4 a_  n[        R                  R                  S5      (       a1  SSK	nUR                  SU  S[        U5      R                   SU 35         SnAgSnAff = f)	zŒLoad a library, optionally warning on failure based on env variable.

Returns True if the library was loaded successfully, False otherwise.
TÚ-TORCHVISION_WARN_WHEN_EXTENSION_LOADING_FAILSr   NzFailed to load 'z' extension: z: F)r   ÚtorchÚopsÚload_libraryÚImportErrorÚOSErrorÚosÚenvironÚgetÚwarningsÚwarnÚtypeÚ__name__)Úlib_nameÚlib_pathÚer   s       ÚR/home/mande/repo/quber/.venv/lib/python3.13/site-packages/torchvision/extension.pyÚ_load_libraryr      sƒ   € ð
	Ü& xÓ0ˆÜ�	‰	×Ñ˜xÔ(ØøÜœÐ!ó Ü�:‰:�>‰>ÐI×JÑJÛà�M‰MÐ,¨X¨J°mÄDÈÃG×DTÑDTÐCUÐUWÐXYÐWZÐ[Ô\Üûðús   ‚*- ­B½ABÂBc                  ó   • g)NF© r   ó    r   Ú_has_opsr      s   € Ør   Ú_Cc                  ó   • g)NTr   r   r   r   r   r      s   € Ør   c                  ó8   • [        5       (       d  [        S5      eg )Nag  Couldn't load custom C++ ops. This can happen if your PyTorch and torchvision versions are incompatible, or if you had errors while compiling torchvision from source. For further information on the compatible versions, check https://github.com/pytorch/vision#installation for the compatibility matrix. Please check your PyTorch version with torch.__version__ and your torchvision version with torchvision.__version__ and verify if they are compatible, and if not please reinstall torchvision so that it matches your PyTorch install. Set TORCHVISION_WARN_WHEN_EXTENSION_LOADING_FAILS=1 and retry to get more details.)r   ÚRuntimeErrorr   r   r   Ú_assert_has_opsr    #   s!   € Ü�:‰:Üðaó	
ð 		
ð r   c                  óª  • [        5       (       d  gSSKJn   [        R                  R
                  R                  5       nUS:w  aŽ  U b‹  [        U5      n[        U5      S:¼  d   SU S35       e[        USS 5      n[        US   5      nU R                  S	5      n[        US   5      n[        US
   5      nXc:w  a  [        SU S	U SU S	U S3	5      eU$ )zX
Make sure that CUDA versions match between the pytorch install and torchvision install
éÿÿÿÿr   )Úcudaià.  zUnexpected CUDA version z, please file a bug report.é   é   Ú.r   zqDetected that PyTorch and torchvision were compiled with different CUDA major versions. PyTorch has CUDA Version=z" and torchvision has CUDA Version=zE. Please reinstall the torchvision that matches your PyTorch install.)r   Útorch.versionr#   r   r   ÚtorchvisionÚ_cuda_versionÚstrÚintÚsplitr   )Útorch_version_cudaÚ_versionÚ
tv_versionÚtv_majorÚtv_minorÚ	t_versionÚt_majorÚt_minors           r   Ú_check_cuda_versionr5   1   sñ   € ô �:‰:ØÝ8ä�y‰y×$Ñ$×2Ñ2Ó4€HØ�2ƒ~Ð,Ñ8Ü˜“]ˆ
Ü�:‹ %Ó'ÐiÐ+CÀHÀ:ÐMhÐ)iÓiÐ'Ü�z ! A�Ó'ˆÜ�z !‘}Ó%ˆØ&×,Ñ,¨SÓ1ˆ	Ü�i ‘lÓ#ˆÜ�i ‘lÓ#ˆØÓÜð,Ø,3¨9°A°g°Yð ? Ø (˜z¨¨8¨*ð 5VðVóð ð €Or   )r   r   Ú_internally_replaced_utilsr   r   r   r    r5   r   r   r   Ú<module>r7      s<   ðÛ 	ã å ;òò"ñ �×Ñòò
òñ6 Õ r   