已关闭
flexattention: disable logger in compile-mode #4198
Jingming Liu创建于  8月19日关闭于  8月20日
Jingming Liu
Jingming Liu
8月19日 创建

在 Dynamo compile-mode 下创建 flex attention metadata 时,logger 的 isEnabledFor 条件会进入 tracing 并引发分支错误。需要在 flex_attention_metadata.py 的日志条件中增加 is_dynamo_compiling 检查,使 compile-mode 跳过 logger 分支。

likedislike
Jingming LiuJingming Liu
8月19日 关联了看板:FrameworkPTAdapter 版本issue看板
TorchNPU-BotTorchNPU-Bot成员
8月19日 添加了label:triage-review
TorchNPU-Bot
TorchNPU-Bot成员
8月19日 评论:

issue待分派,添加triage-review标签

likedislike
Jingming LiuJingming Liu
8月19日 关联了pull request:[inductor] flexattention: disable logger in compile-mode
TorchNPU-BotTorchNPU-Bot成员
8月19日 添加了label:bot-triaged;删除了label:triage-review
TorchNPU-Bot
TorchNPU-Bot成员
8月19日 评论:

检测到当前 issue 已关联 PR !44906,自动添加标签:bot-triaged

likedislike
ascend-robotascend-robot成员
8月20日 关闭了 issue
ascend-robotascend-robot成员
8月20日 添加了label:resolved
Jingming LiuJingming Liu
8月21日 关联了pull request:[inductor] flexattention: disable logger in compile-mode
Jingming LiuJingming Liu
8月21日 关联了pull request:[inductor] flexattention: disable logger in compile-mode
chenrayraychenrayray成员
5 天前 关联了里程碑:v26.2.0
ascend-robotascend-robot成员
5 天前 issue状态由 TODO 改变为 DONE