o
    TÃiÁ  ã                   @   s$   d dl mZmZ G dd„ deƒZdS )é    )ÚABCÚabstractmethodc                   @   s$   e Zd Zedd„ ƒZedd„ ƒZdS )ÚDSKernelBasec                 O   ó   t ƒ ‚)a@  
        If necessary trigger compilation and warmup
        Autotuning of the kernel would happen at this stage to
        eliminate any potential hangs that might occur mid-deployment
        Validate that the desired run configuration is compatible.

        It is not necessary to call super on this method.
        ©ÚNotImplementedError©ÚselfÚargsÚkwargs© r   ú\/home/ubuntu/.local/lib/python3.10/site-packages/deepspeed/inference/v2/kernels/ds_kernel.pyÚ__init__   s   
zDSKernelBase.__init__c                 O   r   )a   
        However the kernel needs to be called, it can be called here. Auto-tuning
        should never be performed here.

        All inputs/outputs should be passed as arguments to this function. No allocations
        should be performed here.
        r   r   r   r   r   Ú__call__   s   	zDSKernelBase.__call__N)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   r   r   	   s
    
r   N)Úabcr   r   r   r   r   r   r   Ú<module>   s   