PTQ-Level Efficiency, QAT-Level Accuracy | 训练后量化的效率,量化感知训练的精度
llm_layer_config_bugfix (#406)
WeiweiZhang17714796a9a05
diff --git a/auto_round/script/llm.py b/auto_round/script/llm.pyindex 5ecb93e3b..186a007e9 100644--- a/auto_round/script/llm.py+++ b/auto_round/script/llm.py@@ -400,7 +400,6 @@ def tune(args):f"{n} will not be quantized due to its shape not being divisible by 32,"" resulting in an exporting issue to autogptq")- layer_config = {}not_quantize_layer_names = get_fp_layer_names(model, args.fp_layers)for name in not_quantize_layer_names:layer_config[name] = {"bits": 16}