Skip to content

[Bug][TIR] Split Error in Schedule Verification #12298

Description

@zxybazh

Hi, I noticed a split error when schedule verification is enabled with debug_mask="all", where I think the split is actually valid.
Script to reproduce the issue is here: https://gist.github.com/zxybazh/0759810aa841508c68abbdf7a00c4ab2

The error says:

- Wrong region_cover:  (output, expected=0, actual=1)
- Wrong stage_pipeline:  (root, expected=0, actual=1)

With the help from @spectrometerHBH I noticed this might be related to the region analysis part here:

arith::IntSet::Interval(analyzer->canonical_simplify(produced_region[i].min()),

May I ask if there's any specifical reason that we use canonical_simplify here instead of Simplify?

CC: @wrongtest-intellif @junrushao1994

cc @Hzfengsy @junrushao

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

tirany TIR core issues which don’t fit into other tir: labels (include/tvm/tir, src/tir)type: bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions