文件最后提交记录最后更新时间
feat: support auto blockify v2 Co-authored-by: kang-ingu<kang.ingu@huawei.com> # message auto-generated for no-merge-commit merge: !783 merge feature-auto-blockify-v2 into main feat: support auto blockify v2 Created-by: kang-ingu Commit-by: kang-ingu Merged-by: ascend-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## checklist <!-- [x] 表示选中 --> - [ ] 是否通过本地IDE对代码进行静态检查 - [ ] 是否通过本地IDE对代码进行格式化处理 - [ ] 是否进行空指针校验 - [ ] 是否进行返回值校验 - [ ] 是否正确释放new/malloc申请的内存 - [ ] 是否充分考虑接口的异常场景 - [ ] 是否正确记录错误日志 ![image.png](https://raw.gitcode.com/user-images/assets/7623225/02a52351-9011-48a6-9ca0-12ad0b87a10d/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/7623225/f9855fa0-9410-4c8b-9ae6-5f5ed39b7f0a/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/7623225/99bffedc-c43c-48f1-81fa-b42cdc3836d0/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/7623225/c41ef7e1-9a77-48df-a8bf-f3dc4221d373/image.png 'image.png') ![image.png](https://raw.gitcode.com/user-images/assets/7623225/6316c06c-c173-4c3a-a4aa-88ccf1fb2589/image.png 'image.png') See merge request: Ascend/triton-ascend!7832 个月前
feat(conv1d) : add conv1d op 26 天前
testing: Add code coverage ut and mlir testing cases for TritonToUnstructure, TritonToHIVM, BubbleUpOp, DiscreteMask Co-authored-by: wutianyao<wutianyao1@huawei.com> # message auto-generated for no-merge-commit merge: !1649 merge main6 into main testing: Add code coverage ut and mlir testing cases for TritonToUnstructure, TritonToHIVM, BubbleUpOp, DiscreteMask Created-by: wutianyao Commit-by: wutianyao Merged-by: ascend-robot Description: <!--- The core Triton is a small number of people, and we receive many PRs (thank you!). To help us review your code more quickly, **if you are a new contributor (less than 3 PRs merged) we ask that you complete the following tasks and include the filled-out checklist in your PR description.** Complete the following tasks before sending your PR, and replace [ ] with [x] to indicate you have done them. --> # New contributor declaration - [ ] I am not making a trivial change, such as fixing a typo in a comment. - [ ] I have written a PR description following these [rules](https://cbea.ms/git-commit/#why-not-how). - [ ] I have run pre-commit run --from-ref origin/main --to-ref HEAD. - Select one of the following. - [ ] I have added tests. - /test for lit tests - /unittest for C++ tests - /python/test for end-to-end tests - [ ] This PR does not need a test because FILL THIS IN. - Select one of the following. - [ ] I have not added any lit tests. - [ ] The lit tests I have added follow these [best practices](https://mlir.llvm.org/getting_started/TestingGuide/#filecheck-best-practices), including the "tests should be minimal" section. (Usually running Python code and using the instructions it generates is not minimal.) See merge request: Ascend/triton-ascend!16491 个月前
Supplement ut use cases 21 天前
fix(ssbuf): implement backward synchronization and fix ssbuf for pipe_s flag Co-authored-by: lichengfeng497<1309837013@qq.com> # message auto-generated for no-merge-commit merge: !1579 merge fix_pipeS into main fix(ssbuf): implement backward synchronization and fix ssbuf for pipe_s flag Created-by: lichengfeng497 Commit-by: lichengfeng497 Merged-by: ascend-robot Description: The core Triton is a small number of people, and we receive many PRs (thank you!). To help us review your code more quickly, **if you are a new contributor (less than 3 PRs merged) we ask that you complete the following tasks and include the filled-out checklist in your PR description.** Complete the following tasks before sending your PR, and replace [ ] with [x] to indicate you have done them. - [ ] I am not making a trivial change, such as fixing a typo in a comment. - [ ] I have written a PR description following these [rules](https://cbea.ms/git-commit/#why-not-how). - [ ] I have run pre-commit run --from-ref origin/main --to-ref HEAD. - Select one of the following. - [ ] I have added tests. - /test for lit tests - /unittest for C++ tests - /python/test for end-to-end tests - [ ] This PR does not need a test because FILL THIS IN. - Select one of the following. - [ ] I have not added any lit tests. - [ ] The lit tests I have added follow these [best practices](https://mlir.llvm.org/getting_started/TestingGuide/#filecheck-best-practices), including the "tests should be minimal" section. (Usually running Python code and using the instructions it generates is not minimal.) hstu_fwd 验证截图如下: ![image.png](https://raw.gitcode.com/user-images/assets/7623225/521a6ed7-ec0f-4155-9594-c0e3a1d14294/image.png 'image.png') See merge request: Ascend/triton-ascend!15791 个月前
change triton-ascend to fork mode Co-authored-by: zhang-chunli01<zhangchunli19@huawei.com> Co-authored-by: Xuan Peng<pengxuan9@huawei.com> Co-authored-by: luobaiqing<luobaiqing1@huawei.com> Co-authored-by: zhuxuejie<zhuxuejie8@huawei.com> Co-authored-by: candyhong<1102229410@qq.com> Co-authored-by: wutianyao<wutianyao1@huawei.com> # message auto-generated for no-merge-commit merge: !1000 merge out-of-tree-refactor into main change triton-ascend to fork mode Created-by: zhang-chunli01 Commit-by: candyhong;luobaiqing;zhang-chunli01;zhuxuejie;wutianyao;Xuan Peng Merged-by: ascend-robot Description: ![image.png](https://raw.gitcode.com/user-images/assets/7623225/d78ef132-1952-4d6e-8d0e-420bd62d0332/image.png 'image.png') See merge request: Ascend/triton-ascend!10005 个月前
feat: TTIR Graph Analysis Framework Co-authored-by: Jin Jing<jinjing21@huawei.com> # message auto-generated for no-merge-commit merge: !1498 merge main into main feat: TTIR Graph Analysis Framework Created-by: jjin_750629 Commit-by: JinJing;Jin Jing Merged-by: huchengbei Description: feat: TTIR Graph Analysis Framework 在TA中增加了针对TTIR的图分析框架,主要是构建控制流图(Control Flow Graph)和数据流图(Data Flow Graph),并针对Tensor和Global Memory补充了Memory SSA的数据流,与TTIR中原有的SSA数据流合并为一套数据流引擎。 控制流图以基本块(BasicBlock)为节点、控制流转移为有向边,描述程序的执行顺序。在 MLIR 体系中,每个 FuncOp / tt.func 内部由若干 BasicBlock 构成,BasicBlock 内的操作顺序执行,BasicBlock 末尾为终结符操作(terminator op)决定后继跳转目标。在控制流图上提供深度优先遍历与广度优先遍历(DFS & BFS)。 过程间控制流图(ICFG)在单函数 CFG 基础上,引入跨 FuncOp 的调用边与返回边,构成全程序(全模块)的统一控制流视图。在 Triton 中,一个 module 往往包含多个 tt.func(device kernel + helper function) 别名图描述程序中每个指针/内存引用可能关联的抽象内存对象集合。在 Triton 中,这对应 tt.ptr 可能指向的设备内存块对应的Tensor对象 数据流图提供Value的definion和use关系的快速查询,综合了MemorySSA和SSA两种形式的数据流 See merge request: Ascend/triton-ascend!14981 个月前
change triton-ascend to fork mode Co-authored-by: zhang-chunli01<zhangchunli19@huawei.com> Co-authored-by: Xuan Peng<pengxuan9@huawei.com> Co-authored-by: luobaiqing<luobaiqing1@huawei.com> Co-authored-by: zhuxuejie<zhuxuejie8@huawei.com> Co-authored-by: candyhong<1102229410@qq.com> Co-authored-by: wutianyao<wutianyao1@huawei.com> # message auto-generated for no-merge-commit merge: !1000 merge out-of-tree-refactor into main change triton-ascend to fork mode Created-by: zhang-chunli01 Commit-by: candyhong;luobaiqing;zhang-chunli01;zhuxuejie;wutianyao;Xuan Peng Merged-by: ascend-robot Description: ![image.png](https://raw.gitcode.com/user-images/assets/7623225/d78ef132-1952-4d6e-8d0e-420bd62d0332/image.png 'image.png') See merge request: Ascend/triton-ascend!10005 个月前
change triton-ascend to fork mode Co-authored-by: zhang-chunli01<zhangchunli19@huawei.com> Co-authored-by: Xuan Peng<pengxuan9@huawei.com> Co-authored-by: luobaiqing<luobaiqing1@huawei.com> Co-authored-by: zhuxuejie<zhuxuejie8@huawei.com> Co-authored-by: candyhong<1102229410@qq.com> Co-authored-by: wutianyao<wutianyao1@huawei.com> # message auto-generated for no-merge-commit merge: !1000 merge out-of-tree-refactor into main change triton-ascend to fork mode Created-by: zhang-chunli01 Commit-by: candyhong;luobaiqing;zhang-chunli01;zhuxuejie;wutianyao;Xuan Peng Merged-by: ascend-robot Description: ![image.png](https://raw.gitcode.com/user-images/assets/7623225/d78ef132-1952-4d6e-8d0e-420bd62d0332/image.png 'image.png') See merge request: Ascend/triton-ascend!10005 个月前
change triton-ascend to fork mode Co-authored-by: zhang-chunli01<zhangchunli19@huawei.com> Co-authored-by: Xuan Peng<pengxuan9@huawei.com> Co-authored-by: luobaiqing<luobaiqing1@huawei.com> Co-authored-by: zhuxuejie<zhuxuejie8@huawei.com> Co-authored-by: candyhong<1102229410@qq.com> Co-authored-by: wutianyao<wutianyao1@huawei.com> # message auto-generated for no-merge-commit merge: !1000 merge out-of-tree-refactor into main change triton-ascend to fork mode Created-by: zhang-chunli01 Commit-by: candyhong;luobaiqing;zhang-chunli01;zhuxuejie;wutianyao;Xuan Peng Merged-by: ascend-robot Description: ![image.png](https://raw.gitcode.com/user-images/assets/7623225/d78ef132-1952-4d6e-8d0e-420bd62d0332/image.png 'image.png') See merge request: Ascend/triton-ascend!10005 个月前
feat: Enhance offset analysis and change the tensor of the all-one type in the select op to continuous memory access 22 天前
feat(Cannonicalizer):add if converter to extract add expr from if body; support constant dense select in linalg.parseSelect Co-authored-by: luobaiqing<luobaiqing1@huawei.com> # message auto-generated for no-merge-commit merge: !1397 merge ifConverter into main feat(Cannonicalizer):add if converter to extract add expr from if body; support constant dense select in linalg.parseSelect Created-by: luobaiqing Commit-by: luobaiqing Merged-by: ascend-robot Description: 1. 增加一个对ifOp进行优化的converter,将参数迭代运算抽取到ifOp外部,简化ifOp ``` %arg = xxx %if = scf.if %cond { %thenYield = arith.addi %arg, %other scf.yield %thenYield, %xxx, ... } else { scf.yield %arg, %xxx, ... } -------> %arg = xxx %cst0 = arith.constant dense <0> %if = scf.if %cond { ... scf.yield %other, %xxx, ... } else { scf.yield %cst0, %xxx, ... } %newIfRes = arith.addi %arg, %if#0 ----> 在当前处理的特例中 %other是外部的另一个constant dense,实际上会被优化成: %arg = xxx %cst0 = arith.constant dense <0> %updateVal = arith.select %cond, %other, %cst0 %if = scf.if %cond { ... scf.yield %xxx, ... } else { scf.yield %xxx, ... } %newIfRes = arith.addi %arg, %updateVal ``` 2. 修改离散访存parseIf/select,如果几个分支结果都是scalarlike,设状态为scalarlike,否则视为unstructure,(因为这代表着他仍是连续访存,只是offset可能变化) 注:放开后遇到特殊场景,当shape的维度为1时,且在for循环内,(且是个间接访存),虽然他也是scalarlike,但在rewriteloop时,rewriteTerminator会失败,暂时规避这一场景不放开,即当select的结果shape维度均为1时,仍按照离散访存处理。后续明确原因后再放开 3. 修改linalg pass的parseSelect,支持selectOp的两个选项均为constant dense的情况,创建一个scalar select作为scalar offset See merge request: Ascend/triton-ascend!13972 个月前
feat: support hivm.custom in offsetAnalysis and BlockPtrAnalysis Co-authored-by: weilinquan<weilinquan1@huawei.com> # message auto-generated for no-merge-commit merge: !1523 merge main into main feat: support hivm.custom in offsetAnalysis and BlockPtrAnalysis Created-by: weilinquan Commit-by: weilinquan Merged-by: ascend-robot Description: The core Triton is a small number of people, and we receive many PRs (thank you!). To help us review your code more quickly, **if you are a new contributor (less than 3 PRs merged) we ask that you complete the following tasks and include the filled-out checklist in your PR description.** Complete the following tasks before sending your PR, and replace [ ] with [x] to indicate you have done them. - [ ] I am not making a trivial change, such as fixing a typo in a comment. - [ ] I have written a PR description following these [rules](https://cbea.ms/git-commit/#why-not-how). - [ ] I have run pre-commit run --from-ref origin/main --to-ref HEAD. - Select one of the following. - [ ] I have added tests. - /test for lit tests - /unittest for C++ tests - /python/test for end-to-end tests - [ ] This PR does not need a test because FILL THIS IN. - Select one of the following. - [ ] I have not added any lit tests. - [ ] The lit tests I have added follow these [best practices](https://mlir.llvm.org/getting_started/TestingGuide/#filecheck-best-practices), including the "tests should be minimal" section. (Usually running Python code and using the instructions it generates is not minimal.) See merge request: Ascend/triton-ascend!15231 个月前
feat: support hivm.custom in offsetAnalysis and BlockPtrAnalysis Co-authored-by: weilinquan<weilinquan1@huawei.com> # message auto-generated for no-merge-commit merge: !1523 merge main into main feat: support hivm.custom in offsetAnalysis and BlockPtrAnalysis Created-by: weilinquan Commit-by: weilinquan Merged-by: ascend-robot Description: The core Triton is a small number of people, and we receive many PRs (thank you!). To help us review your code more quickly, **if you are a new contributor (less than 3 PRs merged) we ask that you complete the following tasks and include the filled-out checklist in your PR description.** Complete the following tasks before sending your PR, and replace [ ] with [x] to indicate you have done them. - [ ] I am not making a trivial change, such as fixing a typo in a comment. - [ ] I have written a PR description following these [rules](https://cbea.ms/git-commit/#why-not-how). - [ ] I have run pre-commit run --from-ref origin/main --to-ref HEAD. - Select one of the following. - [ ] I have added tests. - /test for lit tests - /unittest for C++ tests - /python/test for end-to-end tests - [ ] This PR does not need a test because FILL THIS IN. - Select one of the following. - [ ] I have not added any lit tests. - [ ] The lit tests I have added follow these [best practices](https://mlir.llvm.org/getting_started/TestingGuide/#filecheck-best-practices), including the "tests should be minimal" section. (Usually running Python code and using the instructions it generates is not minimal.) See merge request: Ascend/triton-ascend!15231 个月前
refactor: refactoring the dynamic-cv-pipeline solution based on ssbufer. Co-authored-by: zhaojieshan<zhaojieshan@huawei.com> # message auto-generated for no-merge-commit merge: !1639 merge main into main refactor: refactoring the dynamic-cv-pipeline solution based on ssbufer. Created-by: zhaojieshan Commit-by: zhaojieshan Merged-by: ascend-robot Description: <!--- The core Triton is a small number of people, and we receive many PRs (thank you!). To help us review your code more quickly, **if you are a new contributor (less than 3 PRs merged) we ask that you complete the following tasks and include the filled-out checklist in your PR description.** Complete the following tasks before sending your PR, and replace [ ] with [x] to indicate you have done them. --> # New contributor declaration - [ ] I am not making a trivial change, such as fixing a typo in a comment. - [ ] I have written a PR description following these [rules](https://cbea.ms/git-commit/#why-not-how). - [ ] I have run pre-commit run --from-ref origin/main --to-ref HEAD. - Select one of the following. - [ ] I have added tests. - /test for lit tests - /unittest for C++ tests - /python/test for end-to-end tests - [ ] This PR does not need a test because FILL THIS IN. - Select one of the following. - [ ] I have not added any lit tests. - [ ] The lit tests I have added follow these [best practices](https://mlir.llvm.org/getting_started/TestingGuide/#filecheck-best-practices), including the "tests should be minimal" section. (Usually running Python code and using the instructions it generates is not minimal.) See merge request: Ascend/triton-ascend!16391 个月前