kevinthesun commented on a change in pull request #7117:
URL: https://github.com/apache/tvm/pull/7117#discussion_r544551395
##########
File path: tests/python/relay/test_any.py
##########
@@ -1430,6 +1439,21 @@ def test_non_max_suppression():
disable_targets=["nvptx"],
)
+ np_data = np.zeros((1, 0, 6)).astype("float32")
+ np_valid_count = np.array([0]).astype("int32")
+ np_indices = np.zeros((1, 0)).astype("int32")
+ np_max_output_size = -1
+ np_indices_result = np.zeros((1, 0))
+ np_valid_box_count = np.array([[0]]).astype("int32")
+
+ check_result(
+ [np_data, np_valid_count, np_indices, np_max_output_size],
+ mod,
+ [np_indices_result, np_valid_box_count],
+ only_vm=False,
+ disable_targets=["nvptx"],
Review comment:
There is issue causing segfault from dynamic nms for nvptx, and
generally we need thrust for any dynamic shape sorting. For now nvptx is not
ready for these operations.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]