Ubospica opened a new pull request, #14931: URL: https://github.com/apache/tvm/pull/14931
Currently fuse_tir cannot handle cases when the shape of arguments of call_tir contains tir expressions (e.g. `n-1` other than `n`). In this case, 1. The tir vars in the tir expression will be collected and provided as the third parameter of call_tir 2. fuse_tir has a special logic to handle these vars. However, it wrongly checks such vars cannot already exist in `symbolic_var_remap`. In fact, the var has been stored in `symbolic_var_remap` when previously matching arguments to tir buffers, where the shape of the argument is visited. This PR fixes this problem by using `symbolic_var_matcher.Match` instead. -- 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]
