-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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] Fix array OOB access in TVM #12199
Labels
Comments
cc @zxybazh |
Thanks for reporting this issue. This PR #12273 should be able to fix the issue. Please rebase once the PR is merged. |
junrushao
pushed a commit
that referenced
this issue
Aug 2, 2022
The previous median number calculation util function used the wrong index which could cause out of bound issue as mentioned in #12199 . This PR fixed this issue.
Closing because #12273 should fix this issue. Feel free to reopen if the problem persists! |
xinetzone
pushed a commit
to daobook/tvm
that referenced
this issue
Nov 25, 2022
The previous median number calculation util function used the wrong index which could cause out of bound issue as mentioned in apache#12199 . This PR fixed this issue.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Once #12178 is merged,
test_meta_schedule_task_scheduler.py::test_meta_schedule_task_scheduler_multiple_gradient_based
will be skipped under theci_minimal
docker configuration. The reason is that theci_minimal
image compiles TVM with-D_GLIBCXX_ASSERTIONS
and this test causes an array OOB access.Expected behavior
Expected behavior is
tests/python/unittest/test_meta_schedule_task_scheduler.py::test_meta_schedule_task_scheduler_multiple_gradient_based
to pass.Actual behavior
The test is failing with an array OOB access:
Environment
ci_minimal
image configurationSteps to reproduce
Run
TVM_FFI=ctypes python3 -m pytest -s -v tests/python/unittest/test_meta_schedule_task_scheduler.py -k "test_meta_schedule_task_scheduler_multiple_gradient_based"
from the
ci_minimal
docker container oruse the
ci.py
script:The text was updated successfully, but these errors were encountered: