+
    &j                         R t ^ RIt^ RIt^ RIHt ^ RIHt ^ RIHtH	t	 Rt
R R lt]P                  ! ^4      t]
'       g    ^ RIt^t]	! ]R^ R	7      tR
 R ltR#   ] d    ^t Li ; i)a  Logging utilities for Dynamo and Inductor.

This module provides specialized logging functionality including:
- Step-based logging that prepends step numbers to log messages
- Progress bar management for compilation phases
- Centralized logger management for Dynamo and Inductor components

The logging system helps track the progress of compilation phases and provides structured
logging output for debugging and monitoring.
N)Callable)Any)	_FaketqdmtqdmTc                N    V ^8  d   QhR\         \        P                  ,          /# )   return)listloggingLogger)formats   "m/Users/jameslopez/projects/CWCArchive/cwc-podcast/.venv/lib/python3.14/site-packages/torch/_dynamo/logging.py__annotate__r      s      T'..)     c                      \         P                  ! R 4      \         P                  ! R4      \         P                  ! R4      .# )z%torch.fx.experimental.symbolic_shapesztorch._dynamoztorch._inductor)r
   	getLogger r   r   get_loggersr      s8    AB/*+, r   ztorch.compile())totaldescdelayc                R    V ^8  d   QhR\         P                  R\        R,          /# )r   loggerr   ).N)r
   r   r   )r   s   "r   r   r   <   s#      GNN x	/B r   c                    a a \         '       gP   \        P                  ^4       \        \        \        4      '       g!   \        P                  S P                   4       \        \        4      oR V V3R llpV# )   c                @    V ^8  d   QhR\         R\        R\        RR/# )r   levelmsgkwargsr   N)intstrr   )r   s   "r   r   %get_step_logger.<locals>.__annotate__D   s(     > >3 >S >C >D >r   c                 L   < R V9  d   ^VR &   SP                   ! V RSV3/ VB  R# )
stacklevelzStep %s: %sN)log)r   r   r   r   steps   &&,r   r$   get_step_logger.<locals>.logD   s,    v%#$F< 

5-s=f=r   )	disable_progresspbarupdate
isinstancer   set_postfix_strnamenext_step_counter)r   r$   r%   s   f @r   get_step_loggerr/   <   sP    A$	**  FKK=2D> >
 Jr   )__doc__	itertoolsr
   collections.abcr   typingr   	torch.hubr   r   r'   r   countr.   triton	num_stepsImportErrorr(   r/   r   r   r   <module>r9      sv   	   $  %  & " 	 i&7qAD  	s   A 	A'&A'