§
    “©ºj8  ã                   ó<   — d dl mZ d dlmZ  G d„ dee¦  «        ZdS )é    )ÚBitsandbytesPrecision)Ú	Precisionc                   ó   — e Zd ZdZdS )r   aþ  Plugin for quantizing weights with `bitsandbytes <https://github.com/bitsandbytes-foundation/bitsandbytes>`__.

    .. warning::  This is an :ref:`experimental <versioning:Experimental API>` feature.

    .. note::
        The optimizer is not automatically replaced with ``bitsandbytes.optim.Adam8bit`` or equivalent 8-bit optimizers.

    Args:
        mode: The quantization mode to use.
        dtype: The compute dtype to use.
        ignore_modules: The submodules whose Linear layers should not be replaced, for example. ``{"lm_head"}``.
            This might be desirable for numerical stability. The string will be checked in as a prefix, so a value like
            "transformer.blocks" will ignore all linear layers in all of the transformer blocks.
    N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__© ó    ú€/root/private/project/pallet_detection_v2/.venv/lib/python3.11/site-packages/pytorch_lightning/plugins/precision/bitsandbytes.pyr   r      s   € € € € € ðð ð ð r   r   N)Ú/lightning_fabric.plugins.precision.bitsandbytesr   ÚFabricBNBPrecisionÚ-pytorch_lightning.plugins.precision.precisionr   r
   r   r   ú<module>r      sc   ðð hÐ gÐ gÐ gÐ gÐ gØ CÐ CÐ CÐ CÐ CÐ Cðð ð ð ð ˜IÐ'9ñ ô ð ð ð r   