Issue 136418
Summary [mlir] error: Dialect `ml_program' not found for custom op 'ml_program.global'
Labels mlir
Assignees ryan-holt-1
Reporter vfdff
    The MR [[mlir][MLProgram] Add MLProgram to MemRef bufferization pass](https://github.com/llvm/llvm-project/pull/75103)  has landed for a long time, but I still get the compile error, does I some miss something ?

>  mlir-translate -mlir-to-llvmir mlp.out.mlir
>       error: Dialect `ml_program' not found for custom op 'ml_program.global'

* test: https://godbolt.org/z/d8MGqPGb9
> (py311-source) root@998ee80b761b:/home/zhongyunde/source/test/simple_mlp# cat mlp.out.mlir
```
module attributes {torch.debug_module_name = "MlpModel"} {
  ml_program.global private mutable @global_seed(dense<0> : tensor<i64>) : tensor<i64>
}
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to