jikechao opened a new pull request, #17961: URL: https://github.com/apache/tvm/pull/17961
Fix https://github.com/apache/tvm/issues/17960. This PR fixes a bug where MetaSchedule fails on kernels containing `tir.While` due to missing FLOP estimation. The patch adds conservative handling by: + Evaluating the loop condition and body once (since static iteration count is unknown) + Adding a TODO for future improvements with bounded loop analysis This unblocks compilation while being transparent about limitations. Future work can enhance accuracy via loop analysis or annotations. -- 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]
