-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Hexagon] moves conftest.py to tvm.contrib.hexagon so outside repos can access the testing fixtures #11277
[Hexagon] moves conftest.py to tvm.contrib.hexagon so outside repos can access the testing fixtures #11277
Conversation
a848229
to
29762b9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! thanks!
@@ -26,7 +26,7 @@ | |||
from tvm.contrib.hexagon.session import Session | |||
from tvm.testing.usmp import is_tvm_backendallocworkspace_calls | |||
|
|||
from .conftest import requires_hexagon_toolchain |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's change this to require_hexagon
in a follow up PR.
Copied the content of
conftest.py
totvm.contrib.hexagon.pytest_plugin
--> Outside repos can now access the hexagon specific fixtures.Modified the
conftest.py
to only import thetvm.contrib.hexagon.pytest_plugin
Modified all the hexagon tests to import
requires_hexagon_toolchain
fromtvm.contrib.hexagon.pytest_plugin
@Lunderberg @mehrdadh @csullivan