LudovicoYIN opened a new pull request, #20452: URL: https://github.com/apache/tvm/pull/20452
## Problem `SpecializePrimFuncBasedOnCallSite` assumes every `call_tir` argument is a tensor, which raises an internal check failure for valid `PrimType` scalar parameters. Fixes #20420. ## Changes Skip `PrimType` arguments when building the TIR buffer specialization map and add regression coverage that verifies scalar arguments remain scalar. ## Tests - `tests/python/relax/test_transform_specialize_primfunc_based_on_callsite.py` (3 passed) -- 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]
