Add pydocstyle to the ruff rules (#52136)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <hej.mellor@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Harry Mellor
2026-09-16 16:44:29 +00:00
committed by GitHub
co-authored by Claude Opus 5
parent 804e5377aa
commit 8c1557a79c
2002 changed files with 15024 additions and 14269 deletions
+2 -1
View File
@@ -97,7 +97,8 @@ def test_topk_routing_consistency(num_tokens: int, hidden_dim: int, num_experts:
"""The gate feeds top-k expert selection: the kernel's top-8 must match
an fp64 reference's top-8 per token (ties tolerated). This is the
business-level correctness of the router — numeric error only matters
if it flips the argsort."""
if it flips the argsort.
"""
_requires_sm90()
top_k = 8
device = torch.device("cuda")