typo
This commit is contained in:
committed by
Sung Ching Liu
parent
843b50fdaa
commit
8a5ad8aee3
@@ -96,7 +96,7 @@ class LoraConfig(BaseModel):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
if self.quantization:
|
if self.quantization:
|
||||||
if self.quantization.bits >= 4:
|
if self.quantization.bits > 4:
|
||||||
raise ValueError("Can't load qlora in >4 bit")
|
raise ValueError("Can't load qlora in >4 bit")
|
||||||
|
|
||||||
if self.quantization.backend == "gptq":
|
if self.quantization.backend == "gptq":
|
||||||
|
|||||||
Reference in New Issue
Block a user