mirror of
https://github.com/vladmandic/automatic
synced 2026-08-31 01:20:59 +02:00
SDNQ fix new transformers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user