[Apache TVM Discuss] [Development] Relay Function virtual_device property

2022-06-14 Thread Mark Shields via Apache TVM Discuss
Hi Rafael, virtual device handling is unfortunately in a halfway-implemented state, and it's been on my backlog for a while to wrap that up. Sorry about that! I'm hoping I can work on it in a few weeks as a break between other tasks. There's a few things to be done: - Populate the virtual_dev

Re: [apache/tvm-rfcs] [RFC] TUNIP: TVMScript Unified Printer (PR #74)

2022-06-14 Thread Andrew Reusch
thanks for summarizing @junrushao1994 . to provide some additional perspective: - I'd really like us to get to a place where we have 1 reliable and readable format to serialize TIR. i don't think we should build all of this infrastructure just to provide a "best-effort" serialization--anything e

Re: [apache/tvm-rfcs] [RFC] TUNIP: TVMScript Unified Printer (PR #74)

2022-06-14 Thread Junru Shao
Hey @areusch thanks for elaborating your points and these are all definitely great questions to me! > right now i believe we have 3 TIR formats: repr(), TVMScript, and JSON. This > RFC looks to provide infra that allows for generation of more formats e.g. so > that Python doesn't have to be the

Re: [apache/tvm-rfcs] [RFC] TUNIP: TVMScript Unified Printer (PR #74)

2022-06-14 Thread Andrew Reusch
@junrushao1994 ah thanks for clarifying! a few follow-ups then: > Imagine you are a rust user who doesn't want to use python, our proposal > makes it possible to develop a frontend in pure rust. And of course, it's not > going to be our priority, i'm just stating the possibility. Does this mean

[Apache TVM Discuss] [Meetup] Next TVM Community Meeting June 15, 2022 [cancelled]

2022-06-14 Thread Andrew Reusch via Apache TVM Discuss
Hi all, I don't see an agenda topic for this week, so let's cancel this meeting. Andrew --- [Visit Topic](https://discuss.tvm.apache.org/t/next-tvm-community-meeting-june-15-2022-cancelled/12950/2) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe

Re: [apache/tvm-rfcs] [RFC] Buffer Layout Padding (PR #77)

2022-06-14 Thread Wuwei Lin
Thanks @csullivan for providing the overview. I agree that non-local approaches 2-4 are necessary. From the examples in this RFC I can also see how the components C0-C2 can be used to support these non-local approaches. C0 + C1 allows to specify the constraints during scheduling, and propagate b

Re: [apache/tvm-rfcs] [RFC] TUNIP: TVMScript Unified Printer (PR #74)

2022-06-14 Thread Junru Shao
@areusch Thanks for following up! > what's the motivation for someone to use IRBuilder instead of just > serializing the TVMScript to JSON via parse/print JSON is mostly for serializing an IR after it's constructed (which users cannot manipulate), and the TVMScript format is for users to constr