o
    TÃiÊ  ã                   @   s(   d dl mZ dd„ Zdd„ Zdd„ ZdS )	é    )Úversionc                  C   ó(   zdd l } W d S  ty   tdƒ ‚ w )Nr   zHIf you want to use tensorboard logging, please `pip install tensorboard`)ÚtensorboardÚImportErrorÚprint)r   © r   úK/home/ubuntu/.local/lib/python3.10/site-packages/deepspeed/monitor/utils.pyÚcheck_tb_availability	   s   þr	   c                  C   r   )Nr   z|If you want to use wandb logging, please `pip install wandb` and follow the instructions at https://docs.wandb.ai/quickstart)Úwandbr   r   )r
   r   r   r   Úcheck_wandb_availability   s   ÿür   c                  C   sJ   zdd l } t | j¡}|t d¡k rtdƒ‚W d S  ty$   tdƒ ‚ w )Nr   z3.41.0z,`comet_ml` must have at least version 3.41.0zIIf you want to use comet logging, please `pip install "comet_ml>=3.41.0"`)Úcomet_mlÚpkg_versionÚparseÚ__version__ÚVersionr   r   )r   Úcomet_versionr   r   r   Úcheck_comet_availability   s   ÿþr   N)Ú	packagingr   r   r	   r   r   r   r   r   r   Ú<module>   s   

