Skip to content

PTQ-Level Efficiency, QAT-Level Accuracy | 训练后量化的效率,量化感知训练的精度

remove unused log (#252)

n1ck-guo9b55ce564bd2
diff --git a/auto_round/autoround.py b/auto_round/autoround.py
index 6f84275c7..78e68cc60 100644
--- a/auto_round/autoround.py
+++ b/auto_round/autoround.py
@@ -52,6 +52,14 @@ from .utils import (
from .low_cpu_mem.utils import get_layers_before_block
+os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
+import logging
+import numexpr
+dataset_logger = logging.getLogger("datasets")
+dataset_logger.disabled = True
+numexpr_logger = logging.getLogger("numexpr")
+numexpr_logger.disabled = True
+
class AutoRound(object):
"""This is Signround+ which is an advanced version of Signround. For more information,