-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Tensorization Failure During Multilevel Tiling with Tensor Intrin #16614
Comments
Hi @zxybazh , I am facing the same issue, when I try to metaschedule a resnet-50 relay workload. |
Won't fix for now. Please feel free to reopen if this reproduces. |
I don't know why this issue was closed, because it reproduces for me when I was tuning for quantized ResNet-18. After some search I found that #16239 and #15505 may be related to this bug. I tried the workaround in #15505 and although @zxybazh Could you please look into this a little more? The comments in #16239 might help. Also could you see any unsoundness in the workaround in #15505? Thank you for your help. |
After some digging I discovered the root cause of this bug: I found that #17171 is also related to this bug, but that PR along with #16239 and #15505 did not really solve this problem. I have fixed this by tracking which producers (consumers) are padded by |
Expected behavior
MetaSchedule Tuning Works for the given Conv2d workload
Actual behavior
Triggers an error
ValueError: The block no longer exists in the IRModule
during application of schedule rule Multi-level tiling with tensor intrin. I notcied thatstate->tensor_core_reindex_store
would point to a block that is already merged into another block via ComputeInline during application ofTileWithTensorIntrin
.Environment
Latest TVM Main
Steps to reproduce
The text was updated successfully, but these errors were encountered: