[Docs] Modernize test-gating documentation#19788
Conversation
Update the contributor guide and tvm.testing docstrings/comments to describe the current gating API (@pytest.mark.gpu + tvm.testing.env.has_*() + skipif, and pytest.importorskip for optional packages) instead of the removed Feature class and @tvm.testing.requires_*/uses_gpu decorators.
There was a problem hiding this comment.
Code Review
This pull request updates the documentation and docstrings across the codebase to reflect the transition from per-target decorators to capability-based gating probes (such as tvm.testing.env.has_cuda()) and @pytest.mark.gpu for GPU tests. The review feedback suggests improving consistency in the docstrings of python/tvm/testing/env.py by using the full namespace tvm.testing.env for capability probes instead of abbreviated versions.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This pr updates the contributor guide and tvm.testing docstrings/comments to describe the current gating API --------- Co-authored-by: Tianqi Chen <tqchen@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This pr updates the contributor guide and tvm.testing docstrings/comments to describe the current gating API