Lunderberg opened a new pull request #8542:
URL: https://github.com/apache/tvm/pull/8542
Previously, the addition of tvm.testing._target_to_requirement pytest marks
was handled by the parametrize_targets function. The _auto_parametrize_target
function assumed that a unit test that was already parametrized had all
markings needed. If a unit test was explicitly parametrized using
@pytest.mark.parametrize, these marks would be missing.
In most cases, this explicit use of @pytest.mark.parametrize('target', ...)
should be avoided, but has value in the case of marking with multiple
parameters with @pytest.mark.parametrize('target,other', ...). This use case
isn't yet supported by the tvm.testing.parameters function. Therefore, if this
occurs, detect it and add the appropriate marks.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]