tvm icon indicating copy to clipboard operation
tvm copied to clipboard

Build and test TVM under minimal configuration

Open gigiblender opened this issue 2 years ago • 6 comments

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.

gigiblender avatar Jul 25 '22 18:07 gigiblender

@areusch @driazati

gigiblender avatar Jul 25 '22 19:07 gigiblender

cc @kparzysz-quic @Mousius @manupa-arm @cbalint13 @tqchen

areusch avatar Jul 26 '22 00:07 areusch

Built docs for commit ea3c93e5c890a4545e1648c9a0f9e47936324ade can be found here.

github-actions[bot] avatar Jul 30 '22 00:07 github-actions[bot]

@gigiblender looks like just need to resolve the merge conflict

areusch avatar Aug 02 '22 23:08 areusch

@tvm-bot merge

driazati avatar Aug 10 '22 15:08 driazati

@tvm-bot merge

driazati avatar Aug 10 '22 16:08 driazati