Skip to content

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

support auto-round-mllm command (#742)

Heng Guocd980c7197fb
diff --git a/auto_round/__main__.py b/auto_round/__main__.py
index a85e99a3f..e79383efd 100644
--- a/auto_round/__main__.py
+++ b/auto_round/__main__.py
@@ -53,6 +53,14 @@ def run():
tune(args)
+def run_mllm():
+ from auto_round.script.llm import setup_parser, tune
+
+ args = setup_parser()
+ args.mllm = True
+ tune(args)
+
+
def run_best():
from auto_round.script.llm import setup_best_parser, tune