+
    $Lj6                         ^ RI t  ! R R] P                  4      t ! R R]4      t ! R R]4      t ! R R	] P
                  4      t ! R
 R] P                  4      tR# )    Nc                   @   a a ] tR t^t oRtV 3R ltRR ltRtVtV ;t	# )_StoreActionzK
Custom action that allows for `-` or `_` to be passed in for an argument.
c                   < \         SV `  ! V/ VB  . pV P                   FE  pVP                  V4       R VR,          9   g   K$  VP                  VP	                  R R4      4       KG  	  W0n        R# )_:   NN-N)super__init__option_stringsappendreplace)selfargskwargsnew_option_stringsoption_string	__class__s   &*,  E/app/.local/lib/python3.14/site-packages/accelerate/commands/utils.pyr
   _StoreAction.__init__   si    $)&)!00M%%m4mB''"))-*?*?S*IJ	 1
 1    c                    \        W P                  V4       \        VR 4      '       g   \        4       Vn        VP                  P                  V P                  4       R# )
nondefaultN)setattrdesthasattrsetr   add)r   parser	namespacevaluesr   s   &&&&&r   __call___StoreAction.__call__!   s?    	99f-y,//#&5I   +r   )r   N
__name__
__module____qualname____firstlineno____doc__r
   r!   __static_attributes____classdictcell____classcell__r   __classdict__s   @@r   r   r      s     1, ,r   r   c                   J   a a ] tR t^(t oRtRV 3R lltRV 3R lltRtVtV ;t	# )_StoreConstActionzJ
Same as `argparse._StoreConstAction` but uses the custom `_StoreAction`.
c           
     4   < \         SV `  VV^ VVVVR7       R# )r   )r   r   nargsconstdefaultrequiredhelpNr	   r
   )r   r   r   r3   r4   r5   r6   r   s   &&&&&&&r   r
   _StoreConstAction.__init__-   s*    ) 	 	
r   c                >   < \         SV `  WV P                  V4       R # r#   )r	   r!   r3   )r   r   r   r    r   r   s   &&&&&r   r!   _StoreConstAction.__call__8   s    DJJFr    NFNr#   r$   r-   s   @@r   r0   r0   (   s     	
G Gr   r0   c                   :   a a ] tR t^<t oRtRV 3R lltRtVtV ;t# )_StoreTrueActionzN
Same as `argparse._StoreTrueAction` but uses the custom `_StoreConstAction`.
c           	     .   < \         SV `  WR W4VR7       R# )T)r   r   r3   r4   r5   r6   Nr7   )r   r   r   r4   r5   r6   r   s   &&&&&&r   r
   _StoreTrueAction.__init__A   s!     	)D'ko 	 	
r   r;   r<   )	r%   r&   r'   r(   r)   r
   r*   r+   r,   r-   s   @@r   r>   r>   <   s     

 

r   r>   c                   6   a a ] tR t^Nt oRtV 3R ltRtVtV ;t# )CustomArgumentGroupz
Custom argument group that allows for the use of `-` or `_` in arguments passed and overrides the help for each
when applicable.
c           	       < \        V4      p\        V\        P                  4      '       d4   \        VR ,          VR,          VR,          VR,          VR,          4      pM\        V\        P                  4      '       d<   \	        VR ,          VR,          VR,          VR,          VR,          VR,          4      pM+\        V\        P
                  4      '       d   \        R/ VB p\        SV `  V4      pV# )r   r   r4   r5   r6   r3   r;   )vars
isinstanceargparser>   r0   r   r	   _add_action)r   actionr   r   s   && r   rG   CustomArgumentGroup._add_actionT   s    F|fh7788%%&Vd9otJGWY]^dYeF  : :;;&%&VWYZ VF  5 566!)D)F$V,r   r;   )	r%   r&   r'   r(   r)   rG   r*   r+   r,   r-   s   @@r   rB   rB   N   s     
 r   rB   c                   <   a a ] tR t^it oRtV 3R ltR tRtVtV ;t	# )CustomArgumentParserz
Custom argument parser that allows for the use of `-` or `_` in arguments passed and overrides the help for each
when applicable.
c                x   < R V9   d   VR ,          R8X  d
   \         VR &   M	\        VR &   \        SV `  ! V/ VB  R# )rH   
store_trueN)r>   r   r	   add_argument)r   r   r   r   s   &*,r   rN   !CustomArgumentParser.add_argumento   s?    vh</#3x +F8d-f-r   c                Z    \        V .VO5/ VB pV P                  P                  V4       V# r#   )rB   _action_groupsr   )r   r   r   groups   &*, r   add_argument_group'CustomArgumentParser.add_argument_groupx   s/    #D:4:6:""5)r   r;   )
r%   r&   r'   r(   r)   rN   rS   r*   r+   r,   r-   s   @@r   rK   rK   i   s     
. r   rK   )	rF   Actionr   r0   r>   _ArgumentGrouprB   ArgumentParserrK   r;   r   r   <module>rX      sY    ,8?? ,,G G(
( 
$(11 6822 r   