Lunderberg opened a new pull request, #11313: URL: https://github.com/apache/tvm/pull/11313
This PR has two main goals. * Improve the pytest messages when unit tests are skipped. When investigating the bug in https://github.com/apache/tvm/pull/11294, reporting the reason why a test is skipped (disabled in `config.cmake`, disabled in `TVM_TEST_TARGETS`, or no device available). * Distinguish between tests that only require compile-time support from tests that require a physical device. The existing `@tvm.testing.requires_*` decorators maintain the same semantics, skipping a test unless both compile-time and run-time support are present. This adds an optional argument to indicate that the test does not require a physical device (e.g. to require cuda library support without requiring a cuda-capable GPU: `@requires_cuda(support_required="compile-only")` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
