[Bug] [TIR] Variable is not defined in the environment IndexError when compiling TIR that looks 'correct' #17387
Labels
needs-triage
PRs or issues that need to be investigated by maintainers to find the right assignees to address it
type: bug
Steps to Reproduce
Expected Behavior
At the very least,
cse_var_7
should be defined, so I shouldn't get error messages about it not being defined.Observed Behavior
(Note, I've updated file paths in this log to simplify paths to TVM and where I ran the script above)
Additoinal notes
Printing the IR before and after each pass seems to indicate that the tir.TextureFlatten pass is the source of the exception. The before pass IR is printed, but no after pass IR is printed.
Triage
cc @Hzfengsy @junrushao @quic-sanirudh @shingjan
The text was updated successfully, but these errors were encountered: