PTQ-Level Efficiency, QAT-Level Accuracy | 训练后量化的效率,量化感知训练的精度
remove numpy restriction for gptq kernel (#1084)
Wenhua Cheng0abae3859d3b
diff --git a/auto_round/inference/backend.py b/auto_round/inference/backend.pyindex 74a9a5c62..5900207d5 100644--- a/auto_round/inference/backend.py+++ b/auto_round/inference/backend.py@@ -1003,10 +1003,6 @@ def process_requirement(requirements: list, target_device="cuda", logger_level="if gptq_req:commands.append(f"pip install -v {gptq_req} --no-build-isolation")- try:- require_version("numpy<2.0")- except:- commands.append("pip install 'numpy<2.0'")if other_reqs:other_str = " ".join(other_reqs)