guan404ming commented on PR #19957: URL: https://github.com/apache/tvm/pull/19957#issuecomment-4933153522
Thanks, reproduced exactly as described. The `llvm` pipeline doesn't run `FoldConstant`, which is why the existing tests missed it. Fixed by bailing out when `call_tir` carries `tir_vars` (`args.size() > 2`). Added `test_call_tir_with_tir_vars_not_folded`. I kept it as a `FoldConstant` unit test rather than an end-to-end `relax.build(..., target="cuda")` test so it doesn't need a CUDA CI node, happy to add the build test if you'd prefer. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
