mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-02 19:21:31 +06:00
parent
74c9cfeaa7
commit
d703eaaeff
@ -342,6 +342,8 @@ class BitsAndBytesConfig(QuantizationConfigMixin):
|
||||
"""
|
||||
output = copy.deepcopy(self.__dict__)
|
||||
output["bnb_4bit_compute_dtype"] = str(output["bnb_4bit_compute_dtype"]).split(".")[1]
|
||||
output["load_in_4bit"] = self.load_in_4bit
|
||||
output["load_in_8bit"] = self.load_in_8bit
|
||||
|
||||
return output
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user