This commit is contained in:
Disty0
2025-11-27 18:26:14 +03:00
parent ff4c254930
commit 7b2a8e3f87
-1
View File
@@ -132,7 +132,6 @@ def load_sdnq_model(model_path: str, model_cls: ModelMixin = None, file_name: st
if isinstance(getattr(model, "_tied_weights_keys", None), dict):
for key, value in model._tied_weights_keys.items():
print(key, value)
if value in state_dict.keys() and key not in state_dict.keys():
state_dict[key] = state_dict[value]
else: