manupa-arm commented on code in PR #11208:
URL: https://github.com/apache/tvm/pull/11208#discussion_r877258645


##########
src/relay/backend/aot_executor_codegen.cc:
##########
@@ -1063,6 +1064,8 @@ class AOTExecutorCodegen : public MixedModeVisitor {
     }
 
     mod = transform::ToANormalForm()(mod);
+    mod = transform::InferType()(mod);
+    mod = transform::AnnotateUsedMemory()(mod);

Review Comment:
   This is mainly to get an idea how aggressive the scheduling need to be 
in-terms of memory when we lower them to TIR.
   
   Yes, USMP will analyze and optimize further post-scheduling attempting to be 
hit "a" theoretical minimum (i.e. memory pressure).



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