Support compressed tensors fp8w8a8 (#4743)
This commit is contained in:
@@ -38,6 +38,11 @@ class QuantizeMethodBase(ABC):
|
||||
class QuantizationConfig(ABC):
|
||||
"""Base class for quantization configs."""
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
# mapping is updated by models as they initialize
|
||||
self.packed_modules_mapping: Dict[str, List[str]] = dict()
|
||||
|
||||
@abstractmethod
|
||||
def get_name(self) -> str:
|
||||
"""Name of the quantization method."""
|
||||
|
||||
Reference in New Issue
Block a user