[Bug] InternalError: Check failed: (it != slot_map_.end()) is false: Var mis not defined in the function but is referenced by m * n during VM Shape Lowering #17493
Labels
needs-triage
PRs or issues that need to be investigated by maintainers to find the right assignees to address it
type: bug
After applying
LiftTransformParams
transformation, during relax VM transformation, particularly in the VM Shape Lowering phase, the following error occurs:The error seems to indicate an issue with variable scope, where m is used but not recognized in the expected scope during shape transformation. The variable m is defined within main, and its shape is referenced correctly in tir_vars, yet it still causes a shape resolution failure.
Steps to reproduce
The text was updated successfully, but these errors were encountered: