Thank you @FrozenGene !

We have few schedules implemented in TOPI which have `s[c].bind(px, 
te.thread_axis("pipeline"))` .

I want invoke the below mentioned TVM pass if target and target_host are same 
while performing  relay.build operation

    tvm.tir.ir_pass.PostOrderVisit(ir, find_pipeline)
    stmt = tvm.tir.ir_pass.IRTransform(ir, None, remove_attr, ['AttrStmt'])

If target and target_host are different, then pipeline_exec_scope should be 
added to the IR.

Could you please suggest a way to incorporate this ?





---
[Visit Topic](https://discuss.tvm.ai/t/remove-an-attribute-from-ir/6526/4) to 
respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/6bcc7d694e1b79de4dd4c9fa3cbb073f2846367c1f45f8f96dc49f5cdd41201c).

Reply via email to