Closed xuel0707 closed 4 months ago
@sethbrin please have a look and fix it!
需要添加一个-split-input-file配置项,这个文件里有不止一个这个名字的func,所以需要添加这个配置项
需要添加一个-split-input-file配置项,这个文件里有不止一个这个名字的func,所以需要添加这个配置项
OK,thx.
- python3 ./triton-mlu-examples/add.py, to generate: add.ttir, in the path:$HOME/.triton/cache/eb94d36b18eabb943d62528aa76a9b05;
- triton-linalg-opt --convert-triton-to-linalg add.ttir, report a error as following:
@Artorias123 can you have a try,the content of add.ttir is as following:
module {
tt.func public @add_0d1d2d3d(%arg0: !tt.ptr
不好意思,看不见你的报错,我这里直接复制这段ir测试,报错是ir的格式错误,似乎这个ir并不是由我们依赖的triton版本生成的?triton原生的ir在不同版本改动较多,可能出现不同版本的ir无法正确识别的问题
不好意思,看不见你的报错,我这里直接复制这段ir测试,报错是ir的格式错误,似乎这个ir并不是由我们依赖的triton版本生成的?triton原生的ir在不同版本改动较多,可能出现不同版本的ir无法正确识别的问题
OK,will close the issue.