AndrewZhaoLuo opened a new pull request #10663:
URL: https://github.com/apache/tvm/pull/10663


   Running the CSE-TIR pass led to some variation in lowering to TIR from the 
same schedule multiple times. I tracked this down to iterating over an 
unordered map. I think having consistency in lowering to TIR is a desirable 
property to have so I made the offending code a little better in this regard.
   
   Example test script:
   
https://github.com/AndrewZhaoLuo/TVM-Sandbox/blob/19284ddbd6bb28af61c0c2aa8bb334c5c53731a7/tir/test_inconsistent_tir_lowering.py#L1
 
   
   ^--- Running the above off main produces different hashes every time, 
running after this diff it produces the same hash.


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