This repository has been archived by the owner on Nov 25, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Test] Add tvm.testing.requires_libtorch (apache#12737)
Create a specific test dependency to map to USE_LIBTORCH, which is disabled by deafult, and is independent from torch being installed on the underlying machine, so it causes problems in machines that have torch installed but TVM is build with USE_LIBTORCH OFF. Mark tests.python.contrib.test_libtorch_ops.test_backend with this new decorator.
- Loading branch information