+
    $Ljy                     X    ^RI Ht ]! 4       '       d   ^ RIHt ^RIHt RR/R R lltR# )	   )is_tqdm_available)tqdm)PartialStatemain_process_onlyTc                $    V ^8  d   QhR\         /# )   r   )bool)formats   "A/app/.local/lib/python3.14/site-packages/accelerate/utils/tqdm.py__annotate__r      s     3 34 3    c                8   \        4       '       g   \        R4      h\        V4      ^ 8  d)   \        V^ ,          \        4      '       d   \        R4      hVP                  RR4      pV '       d    V'       g   \        4       P                  ^ 8g  p\        V/ VBRV/B # )z
Wrapper around `tqdm.tqdm` that optionally displays only on the main process.

Args:
    main_process_only (`bool`, *optional*):
        Whether to display the progress bar only on the main process
zZAccelerate's `tqdm` module requires `tqdm` to be installed. Please run `pip install tqdm`.zPassing `True` or `False` as the first argument to Accelerate's `tqdm` wrapper is unsupported. Please use the `main_process_only` keyword argument instead.disableF)
r   ImportErrorlen
isinstancer	   
ValueErrorpopr   local_process_index_tqdm)r   argskwargsr   s   $*, r   r   r      s     vww
4y1}DGT22K
 	
 jjE*G.449$2&2'22r   N)importsr   	tqdm.autor   r   stater    r   r   <module>r      s,     ' '  3$ 3 3r   