+
    &j	                         ^ RI Ht ^ RIHt ^ RIHtHt ^ RIHt	 R.t
 ! R R]4      tR	 F  t]! ]]]3R l4       K  	  ]! ]	4      tR# )
    )IterableAny)InvalidVersionVersion)__version__TorchVersionc                   X   a a ] tR t^t oRtRtV3R lR ltV3R lV 3R lltRtVt	V ;t
# )r	   a&  A string with magic powers to compare to both Version and iterables!
Prior to 1.10.0 torch.__version__ was stored as a str and so many did
comparisons against torch.__version__ as if it were a str. In order to not
break them we have TorchVersion which masquerades as a str while also
having the ability to compare against both packaging.version.Version as
well as tuples of values, eg. (1, 2, 1)
Examples:
    Comparing a TorchVersion object to a Version object
        TorchVersion('1.10.0a') > Version('1.10.0a')
    Comparing a TorchVersion object to a Tuple object
        TorchVersion('1.10.0a') > (1, 2)    # 1.2
        TorchVersion('1.10.0a') > (1, 2, 1) # 1.2.1
    Comparing a TorchVersion object against a string
        TorchVersion('1.10.0a') > '1.2'
        TorchVersion('1.10.0a') > '1.2.1'
c                &   < V ^8  d   QhRS[ RS[ /# )   inpreturnr   )format__classdict__s   "k/Users/jameslopez/projects/CWCArchive/cwc-podcast/.venv/lib/python3.14/site-packages/torch/torch_version.py__annotate__TorchVersion.__annotate__    s     & &s &s &    c                    \        V\        4      '       d   V# \        V\        4      '       d   \        V4      # \        V\        4      '       d"   \        R P	                  R V 4       4      4      # \        V4      h).c              3   8   "   T F  p\        V4      x  K  	  R # 5iN)str).0items   & r   	<genexpr>3TorchVersion._convert_to_version.<locals>.<genexpr>,   s     #>#$CII#s   )
isinstancer   r   r   joinr   )selfr   s   &&r   _convert_to_version TorchVersion._convert_to_version    s_    c7##JS!!3<X&& 388#>##>>?? %%r   c                ,   < V ^8  d   QhRS[ RS[RS[/# )r   cmpmethodr   )r   r   bool)r   r   s   "r   r   r   0   s"     1 1 1S 1T 1r   c                   <  \        \        V 4      V4      ! V P                  V4      4      #   \         d<   p\	        T\
        4      '       g   h \        \        4       T4      ! T4      u R p?# R p?ii ; ir   )getattrr   r!   BaseExceptionr   r   super)r    r$   r%   e	__class__s   &&& r   _cmp_wrapperTorchVersion._cmp_wrapper0   s_    	174=&1$2J2J32OPP 	1a00 57F+C00	1s   )- A30A.(A3.A3 )__name__
__module____qualname____firstlineno____doc__	__slots__r!   r-   __static_attributes____classdictcell____classcell__)r,   r   s   @@r   r	   r	      s*     " I& & 1 1 1r   c                 $    V P                  W4      # r   )r-   )xyr%   s   &&&r   <lambda>r<   ?   s    q(Ar   N)__gt____lt____eq____ge____le__)collections.abcr   typingr   torch._vendor.packaging.versionr   r   torch.versionr   internal_version__all__r   r	   
cmp_methodsetattrr/   r   r   <module>rJ      sW    $  C 9 
-13 -1` EJ&A E +,r   