已关闭
[Bug-Report|缺陷反馈]: master分支 测试用例存在多处日志语法错误 #166
Eddie3226创建于  8月5日关闭于  8月12日
Eddie3226
8月5日 创建

严重级 规则 仓库 分支 文件 行号 代码 问题原因 修复建议
中等 语法错误 amct master input/amct@master/amct_pytorch/experimental/quantization/DeepSeekV3.2/cores/models/deepseek_v3_2/quant_utils.py 161 logger.info("not find self_attn.rotary_emb.inv_freq in state_dict") 'not find' 语法错误,应为 'not found' / 'did not find',影响阅读。 改为 'self_attn.rotary_emb.inv_freq not found in state_dict'。
中等 语法错误 amct master input/amct@master/amct_pytorch/experimental/quantization/DeepSeekV3.2/cores/quantization/utils.py 37 logger.info(f" {name} has not clip_factor_a_max and clip_factor_a_min") 'has not clip_factor_a_max' 语法错误,应为 'has no',造成误读。 改为 f'{name} has no clip_factor_a_max and clip_factor_a_min'。
中等 语法错误 amct master input/amct@master/amct_pytorch/experimental/quantization/DeepSeekV3.2/cores/quantization/utils.py 44 logger.info(f" {name} has not clip_factor_w_max and clip_factor_w_min") 'has not clip_factor_w_max' 语法错误,应为 'has no',造成误读。 改为 f'{name} has no clip_factor_w_max and clip_factor_w_min'。
中等 语法错误 amct master input/amct@master/amct_pytorch/experimental/quantization/DeepSeekV3.2/pp/forward/custom.py 87 logger.warning_once("use_cache=True is incompatible with gradient checkpointing. Setting use_cache=Falsetransformers.") 日志结尾 'use_cache=Falsetransformers.' 存在拼接残留,'transformers' 紧贴在句尾无空格且无意义,造成误读。 删除多余的 'transformers',改为 '... Setting use_cache=False.'。

Describe the current behavior / 问题描述 (Mandatory / 必填)

1c8e92ebd5de461dba17c990f6952559.xlsx

Steps to reproduce the issue / 重现步骤 (Optional / 选填)

严重级 规则 仓库 分支 文件 行号 代码 问题原因 修复建议
中等 语法错误 amct master input/amct@master/amct_pytorch/experimental/quantization/DeepSeekV3.2/cores/models/deepseek_v3_2/quant_utils.py 161 logger.info("not find self_attn.rotary_emb.inv_freq in state_dict") 'not find' 语法错误,应为 'not found' / 'did not find',影响阅读。 改为 'self_attn.rotary_emb.inv_freq not found in state_dict'。
中等 语法错误 amct master input/amct@master/amct_pytorch/experimental/quantization/DeepSeekV3.2/cores/quantization/utils.py 37 logger.info(f" {name} has not clip_factor_a_max and clip_factor_a_min") 'has not clip_factor_a_max' 语法错误,应为 'has no',造成误读。 改为 f'{name} has no clip_factor_a_max and clip_factor_a_min'。
中等 语法错误 amct master input/amct@master/amct_pytorch/experimental/quantization/DeepSeekV3.2/cores/quantization/utils.py 44 logger.info(f" {name} has not clip_factor_w_max and clip_factor_w_min") 'has not clip_factor_w_max' 语法错误,应为 'has no',造成误读。 改为 f'{name} has no clip_factor_w_max and clip_factor_w_min'。
中等 语法错误 amct master input/amct@master/amct_pytorch/experimental/quantization/DeepSeekV3.2/pp/forward/custom.py 87 logger.warning_once("use_cache=True is incompatible with gradient checkpointing. Setting use_cache=Falsetransformers.") 日志结尾 'use_cache=Falsetransformers.' 存在拼接残留,'transformers' 紧贴在句尾无空格且无意义,造成误读。 删除多余的 'transformers',改为 '... Setting use_cache=False.'。

likedislike
fujun19成员
8月5日 评论:

感谢您的反馈,我们将尽快排查整改日志错误

likedislike
zhengpeiyang成员
8月7日 评论:

/assign @zhengpeiyang

likedislike
CANN-robotCANN-robot成员
8月7日 将 zhengpeiyang 设为负责人
Zzhengpeiyang成员
8月7日 关联了pull request:fix: master分支 测试用例存在多处日志语法错误 (#166)
zhengpeiyang成员
8月7日 评论:

问题已解决

likedislike
Jjinyingqi成员
8月8日 添加了label:resolved
jinyingqi成员
8月10日 评论:

🔔 @Eddie3226您好,关联PR #244 已合并,请在2天内检视,超期将视为检视通过,Issue将自动关闭。

likedislike
Zzhengpeiyang成员
8月12日 issue状态由 进行中 改变为 已解决
Zzhengpeiyang成员
8月12日 关闭了 issue