Fix: Unexpected Keys, Improve run_compressed, Rename Test Folder (#37077)
This commit is contained in:
@@ -1352,6 +1352,7 @@ def _find_missing_and_unexpected_keys(
|
||||
|
||||
if hf_quantizer is not None:
|
||||
missing_keys = hf_quantizer.update_missing_keys(model, missing_keys, prefix)
|
||||
unexpected_keys = hf_quantizer.update_unexpected_keys(model, unexpected_keys, prefix)
|
||||
|
||||
# Model-specific exceptions for missing and unexpected keys (e.g. if the modeling change over time, or any other reason...)
|
||||
if cls._keys_to_ignore_on_load_missing is not None:
|
||||
|
||||
Reference in New Issue
Block a user