Skip to content
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

[Test] Add tvm.testing.requires_libtorch #12737

Merged
merged 1 commit into from
Sep 8, 2022

Conversation

leandron
Copy link
Contributor

@leandron leandron commented Sep 8, 2022

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.

This is to unblock integration tests in AArch64. I also opened #12736 to tackle other minor issues I noticed during the investigation.

cc @driazati @Mousius @lhutton1 @areusch @gigiblender

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.

Change-Id: I0f1ad8df88a4172888bdb879c33211510e2d466b
@Mousius Mousius merged commit ed63012 into apache:main Sep 8, 2022
xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants