Skip to content

Commit 59ed49a

Browse files
committed
fix
Signed-off-by: yiliu30 <[email protected]>
1 parent 1126b00 commit 59ed49a

File tree

1 file changed

+2
-2
lines changed
  • examples/pytorch/nlp/huggingface_models/language-modeling/quantization/auto_round

1 file changed

+2
-2
lines changed

examples/pytorch/nlp/huggingface_models/language-modeling/quantization/auto_round/quantize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
}
3333

3434

35-
def quant_model(args):
35+
def quant_model_ar(args):
3636
config = topologies_config[args.t]
3737

3838
logger.info(f"Using fp_layers: {config['fp_layers']}")
@@ -65,7 +65,7 @@ def get_model_and_tokenizer(model_name):
6565
return fp32_model, tokenizer
6666

6767

68-
def quant_model_(args):
68+
def quant_model(args):
6969
from neural_compressor.torch.quantization import (
7070
AutoRoundConfig,
7171
convert,

0 commit comments

Comments
 (0)