-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[UnitTest][Vulkan] Runnable relay unit tests on Vulkan #8947
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This matches the usage in `tvm.testing.parameter`, and allows for parameter sets to be referred to by a single name.
a949b08 to
e4d0887
Compare
…known_failing_targets If an explicit list of targets is given, then the `known_failing_targets` decorator would fail to apply. This commit resolves the issue, and cleans up all target-specific marks to apply in `tvm.testing.plugin._add_target_specific_marks`.
7e97da3 to
7cb0d0e
Compare
This commit allows the relay test suite to be run targeting Vulkan with `TVM_TEST_TARGETS="vulkan -from_device=0" pytest tests/python/relay`. All tests that require a specific environment are skipped if that environment isn't present. All tests that are known to fail when running on Vulkan are marked as expected failure, and will be tracked in apache#8903. - Failures during code generation - Type mismatches, boolean vs int8 - tests/python/relay/test_any.py::test_any_reduce - tests/python/relay/test_op_level3.py::test_sparse_reshape - tests/python/relay/test_op_level4.py::test_reduce_functions - tests/python/relay/test_vm.py::test_cond - tests/python/relay/test_vm.py::test_simple_if - Incorrect strategy selection, picks NCHWc implemenation for NHWC layout - tests/python/relay/test_op_level2.py::test_conv2d_run - Unresolved CallNode operation - tests/python/relay/test_op_level1.py::test_unary_op[erf/tan/atan] - tests/python/relay/test_op_level3.py::test_scatter_add - tests/python/relay/test_op_level3.py::test_segment_sum - Generates 64-bit calls to GLSL that have only 16-/32-bit support - tests/python/relay/test_op_grad_level1.py::test_log_softmax_grad - tests/python/relay/test_op_grad_level1.py::test_softmax_grad - tests/python/relay/test_op_grad_level1.py::test_unary_op - tests/python/relay/test_op_grad_level10.py::test_cross_entropy_grad - Codegen raises error for variable size - tests/python/relay/test_any.py::test_any_batch_matmul - tests/python/relay/test_any.py::test_any_conv2d_NCHWc - tests/python/relay/test_any.py::test_any_dense - Failures when running - Numeric differences (observed on GTX 1650 with NVIDIA driver) - tests/python/relay/test_op_level3.py::test_take - tests/python/relay/test_op_level5.py::TestCropAndResize - tests/python/relay/test_op_level5.py::TestResize1D - tests/python/relay/test_op_level5.py::TestResize2D
7cb0d0e to
5c938ce
Compare
masahi
approved these changes
Sep 7, 2021
Lunderberg
added a commit
to Lunderberg/tvm
that referenced
this pull request
Sep 13, 2021
test_op_level2.py::test_conv2d should have been removed in the refactoring in apache#8947. All functionality tested by it is in test_op_level2.py::TestConv2D.
Lunderberg
added a commit
to Lunderberg/tvm
that referenced
this pull request
Sep 13, 2021
test_op_level2.py::test_conv2d and test_any.py::test_any_reduce should have been removed in the refactoring in apache#8947. All functionality tested by it is in test_op_level2.py::TestConv2D and test_any::TestAnyReduce.
masahi
pushed a commit
that referenced
this pull request
Sep 13, 2021
test_op_level2.py::test_conv2d and test_any.py::test_any_reduce should have been removed in the refactoring in #8947. All functionality tested by it is in test_op_level2.py::TestConv2D and test_any::TestAnyReduce.
ylc
pushed a commit
to ylc/tvm
that referenced
this pull request
Sep 29, 2021
test_op_level2.py::test_conv2d and test_any.py::test_any_reduce should have been removed in the refactoring in apache#8947. All functionality tested by it is in test_op_level2.py::TestConv2D and test_any::TestAnyReduce.
ylc
pushed a commit
to ylc/tvm
that referenced
this pull request
Jan 13, 2022
test_op_level2.py::test_conv2d and test_any.py::test_any_reduce should have been removed in the refactoring in apache#8947. All functionality tested by it is in test_op_level2.py::TestConv2D and test_any::TestAnyReduce.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit allows the relay test suite to be run targeting Vulkan with
TVM_TEST_TARGETS="vulkan -from_device=0" pytest tests/python/relay. All tests that require a specific environment are skipped if that environment isn't present. All tests that are known to fail when running on Vulkan are marked as expected failure, and will be tracked in #8903.