UMA: using pass intruments

Hi, I was playing with UMA and the vanilla tutorial and wanted to use pass instruments to do some analyses, however compile_and_run has no way to forward instuments to PassContext. This could be easily changed by forwarding an instruments parameter to compile_and_run -> compile_models -> PassContext.

Would it make sense to create a PR for this?

1 Like

Sure. Happy to review your PR for such an instrument :+1: :+1:

@cgerum @paulpb @r.stahl

1 Like

The instrument I am using is only the one given as example in How to Use TVM Pass Infra. The proposition has more to do with adding an instruments parameter so it can be forwarded to PassContext when applying passes.