tvm
tvm copied to clipboard
Build and test TVM under minimal configuration
This PR builds and tests TVM (running the CPP and unittests) under minimal configuration with some debug flags enabled:
-
USE_RELAY_DEBUG=ON
in TVM -
-Wp,-D_GLIBCXX_ASSERTIONS
in TVM -
-DLLVM_ENABLE_ASSERTIONS=ON
in LLVM
It also adds this configuration to the CI.
tests/python/unittest/test_meta_schedule_task_scheduler.py::test_meta_schedule_task_scheduler_multiple_gradient_based
results in an array OOB access and a segfault due to D_GLIBCXX_ASSERTIONS
. I disable this test for now and will open an issue to solve it ASAP.
It should fix #11932 and address this discussion.
@areusch @driazati
cc @kparzysz-quic @Mousius @manupa-arm @cbalint13 @tqchen
Built docs for commit ea3c93e5c890a4545e1648c9a0f9e47936324ade can be found here.
@gigiblender looks like just need to resolve the merge conflict
@tvm-bot merge
@tvm-bot merge