mirror of
https://github.com/vladmandic/automatic
synced 2026-09-06 04:50:44 +02:00
SDNQ fix new transformers
This commit is contained in:
@@ -376,6 +376,12 @@ class SDNQQuantizer(DiffusersQuantizer):
|
||||
"""
|
||||
return expected_keys
|
||||
|
||||
def update_param_name(self, param_name: str) -> str:
|
||||
"""
|
||||
needed for transformers compatibilty, no-op function
|
||||
"""
|
||||
return param_name
|
||||
|
||||
@property
|
||||
def is_trainable(self):
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user