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


8月7日 将 zhengpeiyang 设为负责人
8月7日 关联了pull request:fix: master分支 测试用例存在多处日志语法错误 (#166)
zhengpeiyang
8月7日 评论:
8月7日 评论:
问题已解决


8月12日 issue状态由 进行中 改变为 已解决
8月12日 关闭了 issue
严重级 规则 仓库 分支 文件 行号 代码 问题原因 修复建议
中等 语法错误 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=Trueis incompatible with gradient checkpointing. Settinguse_cache=Falsetransformers.") 日志结尾 'use_cache=Falsetransformers.' 存在拼接残留,'transformers' 紧贴在句尾无空格且无意义,造成误读。 删除多余的 'transformers',改为 '... Settinguse_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=Trueis incompatible with gradient checkpointing. Settinguse_cache=Falsetransformers.") 日志结尾 'use_cache=Falsetransformers.' 存在拼接残留,'transformers' 紧贴在句尾无空格且无意义,造成误读。 删除多余的 'transformers',改为 '... Settinguse_cache=False.'。Related log / screenshot / 日志 / 截图 (Optional / 选填)