areusch commented on PR #74:
URL: https://github.com/apache/tvm-rfcs/pull/74#issuecomment-1150642817

   very sorry for the delay here.
   
   @junrushao1994 i guess i'm still a little fuzzy on the rationale for why we 
want to have two ways to parse TVMScript. I know this is a bit bigger than just 
this RFC, but with this RFC we're further pushing the cart down this path so 
I'd like us to be explicit about why.
   
   Relay has a single roundtrippable serialization format, as do most 
languages. I think we benefit from this in that we only have one set of tests 
to maintain.
   
   With TIR, my understanding is that we used Python as an AST parser since 
language constructs in TIR somewhat closely matched to Python. I'm not sure I 
see why we should want to have two different ways to do this--shouldn't we just 
have a single way to serialize TIR and parse it that always works? It seems 
like we could still expose this parser to various frontends via PackedFunc.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to