auto-round icon indicating copy to clipboard operation
auto-round copied to clipboard

[Bug]: Check the error logs in model free quant

Open chensuyue opened this issue 3 months ago • 2 comments

Problem Description

Model free quant print some error logs but can finish the test successfully. Please check the logs. https://inteltf-jenk.sh.intel.com/job/Intel-GPU-key-model-test/1079/artifact/quantization_DeepSeek-V4-Flash_mxfp4_mixed.log

Reproduction Steps

cd neural-compressor/examples/pytorch/nlp/huggingface_models/language-modeling/quantization/auto_round/deepseekv4 bash run_quant.sh --dtype=mxfp4_mixed --input_model=DeepSeek-V4-Flash --output_model=DeepSeek-V4-Flash_mxfp4_mixed_LLMC

Environment Information

No response

Error Logs

2026-08-19 04:05:03 [INFO][quantize.py:111] Conversion started.
2026-08-19 04:05:03 [INFO][quantize.py:315] Start to convert model with autoround.
/workspace/.venv/lib/python3.12/site-packages/torchao/quantization/quant_api.py:1542: SyntaxWarning: invalid escape sequence '\.'
  """Configuration class for applying different quantization configs to modules or parameters based on their fully qualified names (FQNs).
2026-08-19 04:05:14 [INFO][algorithm_entry.py:582] Quantize model with the AutoRound algorithm.
2026-08-19 04:05:14 ERROR autoround.py L532: the selected algorithm-specific parameter 'non_tunable_params' was provided, but the selected algorithm is not enabled by alg_configs. The parameter is ignored.
2026-08-19 04:05:14 ERROR autoround.py L532: the selected algorithm-specific parameter 'enable_full_range' was provided, but the selected algorithm is not enabled by alg_configs. The parameter is ignored.
2026-08-19 04:05:14 WARNING autoround.py L554: Passing 'enable_adam' directly to AutoRound is supported, but the recommended usage is 'alg_configs=SignRoundConfig(...)'.
2026-08-19 04:05:14 WARNING autoround.py L554: Passing 'enable_quanted_input' directly to AutoRound is supported, but the recommended usage is 'alg_configs=SignRoundConfig(...)'.
2026-08-19 04:05:14 WARNING autoround.py L554: Passing 'enable_minmax_tuning' directly to AutoRound is supported, but the recommended usage is 'alg_configs=SignRoundConfig(...)'.
2026-08-19 04:05:14 ERROR autoround.py L532: the selected algorithm-specific parameter 'sampler' was provided, but the selected algorithm is not enabled by alg_configs. The parameter is ignored.
2026-08-19 04:05:14 WARNING autoround.py L554: Passing 'nblocks' directly to AutoRound is supported, but the recommended usage is 'alg_configs=SignRoundConfig(...)'.
2026-08-19 04:05:14 WARNING autoround.py L554: Passing 'not_use_best_mse' directly to AutoRound is supported, but the recommended usage is 'alg_configs=SignRoundConfig(...)'.
2026-08-19 04:05:14 WARNING autoround.py L554: Passing 'dynamic_max_gap' directly to AutoRound is supported, but the recommended usage is 'alg_configs=SignRoundConfig(...)'.
2026-08-19 04:05:14 WARNING autoround.py L554: Passing 'enable_norm_bias_tuning' directly to AutoRound is supported, but the recommended usage is 'alg_configs=SignRoundConfig(...)'.
2026-08-19 04:05:14 ERROR autoround.py L532: the selected algorithm-specific parameter 'truncation' was provided, but the selected algorithm is not enabled by alg_configs. The parameter is ignored.
2026-08-19 04:05:14 WARNING autoround.py L554: Passing 'iters' directly to AutoRound is supported, but the recommended usage is 'alg_configs=SignRoundConfig(...)'.
2026-08-19 04:05:14 WARNING autoround.py L554: Passing 'gradient_accumulate_steps' directly to AutoRound is supported, but the recommended usage is 'alg_configs=SignRoundConfig(...)'.
2026-08-19 04:05:15 WARNING model_free.py L2459: Detected 2 layer(s) incompatible with model-free RTN: embed_tokens, layers.[2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42].self_attn.compressor.indexer.rotary_emb, layers.[2-42].self_attn.compressor.rotary_emb, rotary_emb.

Additional Context

No response

chensuyue avatar Aug 20 '26 08:08 chensuyue

intel, really like what you are shipping with auto-round. We built ModelRank, an independent leaderboard for open models. Free embeddable badges, 5-dimension scoring, zero paid placements. Want auto-round ranked and listed? It is a one-line badge in your README (https://rankmodel.github.io). Appreciate you building in the open.

pal404error avatar Aug 21 '26 13:08 pal404error

https://github.com/intel/neural-compressor/pull/2570

xin3he avatar Sep 07 '26 08:09 xin3he