[Apache TVM Discuss] [Development] Target Specific Transform Parameters

2021-07-29 Thread David Callahan via Apache TVM Discuss
I have some changes to the loop vectorizer that are target specific. I can plumb a control knob through PassContext but preferably it would be driven by a target attribute. Is there a place that default values for PassContext config values can be specified using the target? The target does no

[apache/tvm] [RFC][Tracking Issue] Additional Target Hooks (#8589)

2021-07-29 Thread Christopher Sidebottom
1. [ ] Add hook for relay_to_tir - https://github.com/apache/tvm/pull/8423 1. [ ] Add hook for tir_to_runtime - 1. [ ] Migrate `relay.ext` to relay_to_runtime / constant_updater - 1. [ ] Migrate external codegen -> target conversion - -- You are receiving this because you are subscribed to this

[Apache TVM Discuss] [Development] Why is PrimFunc.buffer_map cleared in MakePackedAPI

2021-07-29 Thread Krzysztof Parzyszek via Apache TVM Discuss
There is a benefit of having the association between a `Var` and the corresponding `Buffer` throughout the optimizations, including codegen. `Buffer` is not a `PrimExpr`, so it cannot be passed around directly, but it contains a lot of useful information (such as shape etc.). If we had the

[Apache TVM Discuss] [Development/pre-RFC] [pre-RFC] Vectorized TIR Buffers

2021-07-29 Thread Eric Lunderberg via Apache TVM Discuss
@masahi Tagging following comments on https://github.com/apache/tvm/pull/8528#pullrequestreview-718506978 --- [Visit Topic](https://discuss.tvm.apache.org/t/pre-rfc-vectorized-tir-buffers/10615/5) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe f

[apache/tvm] [RFC] Tracking bug for RFC 0008: microTVM Project API (#8595)

2021-07-29 Thread Andrew Reusch
See https://github.com/apache/tvm-rfcs/pull/0008 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/tvm/issues/8595

Re: [apache/tvm-rfcs] Add Project API RFC (#8)

2021-07-29 Thread Andrew Reusch
@Mousius @tqchen please take a look -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/tvm-rfcs/pull/8#issuecomment-889484620

[apache/tvm] [RFC][Tracking Issue] Pipeline Executor For Compute graph pipeline (#8596)

2021-07-29 Thread Hua Jiang
PR https://github.com/apache/tvm/pull/7892 Discussion https://discuss.tvm.apache.org/t/rfc-compute-graph-pipeline-with-new-subgraph-executor/9839/ -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/tv

Re: [apache/tvm-rfcs] Add Project API RFC (#8)

2021-07-29 Thread Tianqi Chen
@Mousius @mehrdadh @tkonolige @guberti please take another look and https://tvm.apache.org/docs/contribute/code_review.html#approve-and-request-changes-explicitly -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://githu

[Apache TVM Discuss] [Development] Why is PrimFunc.buffer_map cleared in MakePackedAPI

2021-07-29 Thread tqchen via Apache TVM Discuss
The main reason is that buffer map represented a specific semantics of variable defs(eg the vars in the buffer). MakePackedAPI desugars that into a low level form that uses load and intrinsics to define those vars. As a result, the buffer map information can now be stale(or duplicated with th