From d9ffefad5ec5f3baaa46fe758c40546dc0f49453 Mon Sep 17 00:00:00 2001 From: Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:58:06 +0100 Subject: [PATCH] Fix syntax in HfQuantizer docstring --- src/transformers/quantizers/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/quantizers/base.py b/src/transformers/quantizers/base.py index d6303b230204e9..08ef9aa445c4a5 100755 --- a/src/transformers/quantizers/base.py +++ b/src/transformers/quantizers/base.py @@ -31,7 +31,7 @@ class HfQuantizer(ABC): This class is used only for transformers.PreTrainedModel.from_pretrained and cannot be easily used outside the scope of that method yet. - Attributes + Attributes: quantization_config (`transformers.utils.quantization_config.QuantizationConfigMixin`): The quantization config that defines the quantization parameters of your model that you want to quantize. modules_to_not_convert (`List[str]`, *optional*):