masahi opened a new pull request, #13851: URL: https://github.com/apache/tvm/pull/13851
Previously, the condition `constant.Shape().size() == index_map->initial_indices.size()` was used to decide if the constant that `TECompiler` finds has its layout write already applied or not. But for 1x1 conv2d case, there seems to be a case where the rank of the weight doesn't change after layout rewriting. For example, (1, 1, 32, 16) -> (16, 4, 2, 4). This bug led to the same index map being applied twice on a constant during MS tuning and the final compilation. -- 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]
