meta agent演化 发现影响时间开销的问题 - #193
Open
geyu00 wants to merge 1 commit into
Open
Conversation
Document TileLang import, scalar comparison, and allocation constraints, plus AscendC kernel entry and registration failure guidance. These notes make the generation flow more stable and help agents avoid spending time repeatedly debugging known issues.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
本次更新补充了 AscendC / TileLang skills 中的稳定性指导,用于减少 agent 在已知问题上反复调试的时间。
主要改动:(皆在多个任务中出现,并明显影响agent性能,如算子花费大约30分钟/超过5次retry来修复kernel入口注册问题)
为 model_new_tilelang.py 增加导入规范,要求设置 sys.path 并创建 design/ 相关 init.py,避免本地检查和远端运行时 import 失败。
在 TileLang guide 中补充 T.min/T.max 不适合 scalar comparison 的说明。
在 TileLang guide 中补充 T.alloc_* shape 必须是编译期常量的限制。
在 AscendC 转译文档中明确每个 .cpp 只能有一个 kernel 入口,避免 kernel 注册冲突。
在 AscendC 验证文档中补充 RegisterAscendBinary 相关失败的排查方向。