o
    Ti                     @   s6   d dl Z d dlmZ dae jfdede jfddZdS )    N)LoggerFactorylevelreturnc                 C   s$   t du rtjd| da t d t S )a7  
    Create the inference logger. NOTE: Logging is not cost free. On a 3960X,
    there is a cost of about 6 us per call to a no-op logger, so this should
    be used during setup only and not during the inference loop.

    Args:
        level (int, optional): The logging level. Defaults to logging.INFO.
    NzDS-Inference)namer   zInference logger created.)
inf_loggerr   create_loggerdebug)r    r	   R/home/ubuntu/.local/lib/python3.10/site-packages/deepspeed/inference/v2/logging.pyinference_logger   s   

r   )loggingdeepspeed.utils.loggingr   r   INFOintLoggerr   r	   r	   r	   r
   <module>   s   