o
    9wÖi5  ã                   @   s0   d Z ddlmZ ddlmZ G dd„ deƒZdS )z<Profiler to check if there are any bottlenecks in your code.é    )Úoverride)ÚProfilerc                   @   s<   e Zd ZdZededdfdd„ƒZededdfdd„ƒZdS )	ÚPassThroughProfilerzƒThis class should be used when you don't want the (small) overhead of profiling.

    The Trainer uses this class by default.

    Úaction_nameÚreturnNc                 C   ó   d S ©N© ©Úselfr   r	   r	   ú]/home/ubuntu/sommelier/.venv/lib/python3.10/site-packages/lightning/pytorch/profilers/base.pyÚstart   ó   zPassThroughProfiler.startc                 C   r   r   r	   r
   r	   r	   r   Ústop    r   zPassThroughProfiler.stop)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ústrr   r   r	   r	   r	   r   r      s    r   N)r   Útyping_extensionsr   Ú$lightning.pytorch.profilers.profilerr   r   r	   r	   r	   r   Ú<module>   s   