MasterJH5574 opened a new pull request, #14702:
URL: https://github.com/apache/tvm/pull/14702

   This PR fixes an issue in MetaScheduleApplyDatabase, which uses the IRModule 
being queried as the base module of TIR Schedule. This will cause the 
inconsistency between the IRModule being scheduled and the trace of the record. 
For example, the trace of the record may have `get-block` instructions which 
tries to get block from a given name, which exists in the IRModule of the 
record while does not exist in the IRModule being queried (which is right the 
IRModule being scheduled).
   
   Therefore, this PR adds a case discussion. When anchor-op equality is not 
applied, we create the TIR schedule from the IRModule of the record, so that we 
can prevent the issue above from happening.
   
   This PR adds a unit test that can demonstrate the issue.


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