[Misc] Fix get_min_capability (#5971)
This commit is contained in:
@@ -39,7 +39,8 @@ class SqueezeLLMConfig(QuantizationConfig):
|
||||
def get_supported_act_dtypes(self) -> List[torch.dtype]:
|
||||
return [torch.half]
|
||||
|
||||
def get_min_capability(self) -> int:
|
||||
@classmethod
|
||||
def get_min_capability(cls) -> int:
|
||||
return 70
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user