From a411f18e4223bf3ed542922eea563c07c74e1d60 Mon Sep 17 00:00:00 2001 From: Huazhong Ji Date: Mon, 9 Dec 2024 22:52:22 +0800 Subject: [PATCH] delete comment --- src/transformers/quantizers/quantizer_bnb_4bit.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/transformers/quantizers/quantizer_bnb_4bit.py b/src/transformers/quantizers/quantizer_bnb_4bit.py index 6fb54adb32d60a..8657bda166254d 100644 --- a/src/transformers/quantizers/quantizer_bnb_4bit.py +++ b/src/transformers/quantizers/quantizer_bnb_4bit.py @@ -263,7 +263,6 @@ def update_torch_dtype(self, torch_dtype: "torch.dtype") -> "torch.dtype": torch_dtype = torch.float16 return torch_dtype - # Copied from transformers.quantizers.quantizer_bnb_8bit.Bnb8BitHfQuantizer.update_device_map def update_device_map(self, device_map): if device_map is None: if torch.cuda.is_available():