Closed
[Bug]: triton版本更新后,costmodel对ttir的解析需要泛化,否则costmodel功能无法正常使用 #5277
ZhangZGCAdd on  Oct 8Closed at  Oct 9
ZhangZGC
ZhangZGCCollaborators
Oct 8 Create

在提交新问题之前,请确保您已经在社区中搜索过相关问题,并使用了社区中提供的资源/工具后,仍未找到满意的解决方式。

⚠️ 安全信息提醒:请仔细检查提供的文本内容,确保其不包含敏感数据信息,包括但不限于:

  • API 令牌或密钥
  • 密码或身份验证凭证
  • 私有网址或接口地址
  • 个人或机密数据
  • ...

在分享配置信息或代码示例时,请将敏感信息脱敏处理,或使用 <TOKEN> 等占位符替代原有内容。

环境信息

例如:
- 操作系统
- 昇腾硬件信息
- CANN软件版本
- 安装的对应软件版本

🐛 问题描述

最新的triton对ttir的格式做了修改,ttir的入参名称从args_i改为了其他任意名称。此前costmodel的参数解析采用args这个关键词匹配,当前需要进行泛化,否则无法识别ttir入参。

欢迎加入社区,感谢您对社区的贡献 🎉!

likedislike
ZhangZGCZhangZGCCollaborators
Oct 8 Added label: bug
TorchNPU-BotTorchNPU-BotCollaborators
Oct 8 Added label: bot-triaged
TorchNPU-Bot
TorchNPU-BotCollaborators
Oct 8 Comments:

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

likedislike
TorchNPU-BotTorchNPU-BotCollaborators
Oct 8 Added label: triage-reviewmodule: graph-mode; Removed label: bot-triaged
TorchNPU-Bot
TorchNPU-BotCollaborators
Oct 8 Comments:

问题涉及 triton 版本更新后 ttir 格式变化导致 costmodel 解析失败,属图编译/图模式相关组件问题
添加分类标签:module: graph-mode。
当前分类由社区bot提供,如分类有误请在评论中回复。

likedislike
TorchNPU-BotTorchNPU-BotCollaborators
Oct 8 Added label: bot-triaged; Removed label: triage-review
TorchNPU-Bot
TorchNPU-BotCollaborators
Oct 8 Comments:

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

likedislike
chenrayray
chenrayrayCollaborators
Oct 9 Comments:

因为本单相关实施 PR 已全部结束(4 个已合入、0 个已关闭),按照本轮 issue 整理规则,先关闭此单。

核对的 PR:

如仍有问题或需要继续推进,请重新打开,并补充当前 PyTorch / TorchNPU / CANN 版本、硬件环境、复现步骤及相关日志;需求类请补充尚未完成的具体内容。

likedislike
chenrayraychenrayrayCollaborators
Oct 9 Close issue
chenrayraychenrayrayCollaborators
Oct 9 changed custom state from TODO to DONE
ascend-robotascend-robotCollaborators
Oct 9 Added label: resolved