electriclilies commented on pull request #29:
URL: https://github.com/apache/tvm-rfcs/pull/29#issuecomment-930403179


   Overall this seems like a good change! 
   One question I have is what the relationship between PassContext and the 
IRModule attributes will be in the future. I think that ideally we'd have all 
the information about transformations that will be done to the IRModule in one 
place.
   
   Right now, the PassContext has some module-level configuration options, but 
it also has options that are extracted from the PassContext within passes and 
modifies the behavior of those passes. I think that we should at least move the 
module-level configuration options into the IRModule attributes, but I'm not 
sure about what we should do with the other options. 
   
   Another question is whether we want to distinguish between attributes / 
config options that are pass-invariant and attributes that passes can change. 
This would make it easier to make sure that the pass-invariant ones are being 
propagated properly.
   (We don't need to resolve these questions before the PR goes in, just 
mentioning them while I'm thinking about it!)
   


-- 
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