sergey-grovety opened a new pull request, #13281:
URL: https://github.com/apache/tvm/pull/13281

   This PR fixes the bug in MergeConstants pass on striped networks on Ethos-U 
NPU.
   
   The issue was caused by _DivideConstants_ pass which is introducing new mod 
parameters and changing their order. So ethosu_write parameter in some cases is 
moved from the end of the list to the middle.
   E.g. from:
   `[ethos-u_0_i0, p1, p2, p3, p4, p5, p6, ethosu_write]`
   To:
   `[ethos-u_0_i0, p1, p2, ethosu_write, placeholder, placeholder, placeholder, 
placeholder, placeholder, placeholder, placeholder, placeholder]`
   
   Updated version of the  _GetArgsToMergeWithoutArgsNotInConstDict_ and 
_MakeNewConstDict_ methods in passes.cc can now correctly modify const_dict 
according to the new parameter list.
   
   cc @leandron 


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