SDNQ fix new transformers

This commit is contained in:
Disty0
2025-09-23 16:17:09 +03:00
parent 4130c6cc8b
commit 41e297ba2c
+6
View File
@@ -422,6 +422,12 @@ class SDNQQuantizer(DiffusersQuantizer):
"""
return config
def update_ep_plan(self, config):
"""
needed for transformers compatibilty, no-op function
"""
return config
def update_unexpected_keys(self, model, unexpected_keys: List[str], prefix: str) -> List[str]: # pylint: disable=unused-argument
"""
needed for transformers compatibilty, no-op function