[Misc] Fix get_min_capability (#5971)
This commit is contained in:
@@ -43,7 +43,8 @@ class AWQConfig(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:
|
||||
# The AWQ kernel only supports Turing or newer GPUs.
|
||||
return 75
|
||||
|
||||
|
||||
Reference in New Issue
Block a user