[Bugfix][Quantization] Initialize component quantization base state (#5103)
Signed-off-by: wuli666 <djjpro975@gmail.com> Co-authored-by: wuli666 <djjpro975@gmail.com>
This commit is contained in:
1 parent
b14ff23041
commit
6603450d71
1 file changed
+1
@@ -80,6 +80,7 @@ class ComponentQuantizationConfig(QuantizationConfig):
|
||||
component_configs: dict[str, QuantizationConfig | None],
|
||||
default_config: QuantizationConfig | None = None,
|
||||
) -> None:
|
||||
super().__init__()
|
||||
self._components = component_configs
|
||||
self._default = default_config
|
||||
self._sorted_prefixes = sorted(self._components.keys(), key=len, reverse=True)
|
||||
|
||||
Reference in new issue
Block a user