PTQ-Level Efficiency, QAT-Level Accuracy | 训练后量化的效率,量化感知训练的精度
[pre-commit.ci] pre-commit autoupdate (#494)
pre-commit-ci[bot]23447b5d9485
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 6f00cd9f5..6d14162d0 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -20,7 +20,7 @@ repos:]- repo: https://github.com/codespell-project/codespell- rev: v2.3.0+ rev: v2.4.1hooks:- id: codespellargs: [-w]diff --git a/auto_round/low_cpu_mem/modified_pickle.py b/auto_round/low_cpu_mem/modified_pickle.pyindex fec381d60..6c0b87add 100644--- a/auto_round/low_cpu_mem/modified_pickle.py+++ b/auto_round/low_cpu_mem/modified_pickle.py@@ -483,7 +483,7 @@ class _Pickler: # pragma: no coverThe memo is the data structure that remembers which objects thepickler has already seen, so that shared or recursive objectsare pickled by reference and not by value. This method is- useful when re-using picklers.+ useful when reusing picklers."""self.memo.clear()