Skip to content

[RFC] [Hybrid Script] IR Dump #2288

@were

Description

@were

Because HalideIR now can be fully mapped to Hybrid Script and vice versa, I want to support IR dump to Hybrid Script so that users can play with IR body directly.

Which one do you guys prefer?

  1. mode=tvm.build(sch, args, target='hybrid'); mode.save('a.py')
  2. tvm.hybrid.emit(stmt, file_name)

I personally like the 2nd one better. I do not want touch too much build module thing. I want to make it as standalone as possible.

@tqchen @eqy @yzhliu @kevinthesun @yidawang

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions