ó
    ®—ýhí  ã                   óD   • S r SSKJrJrJr  SSKr\ " S S\5      5       rg)z7Protocols for some functionalities in tensor subclassesé    )ÚOptionalÚProtocolÚruntime_checkableNc                   ó>   • \ rS rSr% Sr\\R                     \S'   Sr	g)ÚSupportsActivationPreScalingé   a  Protocol for activation scale that should be multiplied with activation before quantization,
or before we use activation in matrix multiplications, used for algorithms like AWQ

A class that have `act_pre_scale: Optional[torch.Tensor]` attribute implements the Protocol
Úact_pre_scale© N)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   ÚtorchÚTensorÚ__annotations__Ú__static_attributes__r
   ó    Úh/home/james-whalen/.local/lib/python3.13/site-packages/torchao/quantization/quantize_/common/protocol.pyr   r      s   ‡ ñð ˜EŸL™LÑ)Ö)r   r   )r   Útypingr   r   r   r   r   r
   r   r   Ú<module>r      s.   ðñ >ç 8Ñ 8ã ð ô* 8ó *ó ñ*r   