[CI] Ignore ruff D209, rejoin the docstrings it split, and silence incompatible-rule warnings (#57212)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
1085b64425
commit
651a88c09a
@@ -727,8 +727,7 @@ def test_cudagraph_capture_metadata_avoids_device_to_host_copy(
|
||||
"""`build_for_cudagraph_capture` is not capture-only: a DP rank with nothing
|
||||
scheduled re-stages its FULL-graph metadata through it on every dummy step,
|
||||
so it must not synchronize the device. The host-side draft counts have to
|
||||
come from `query_start_loc_cpu` and match the device-derived values.
|
||||
"""
|
||||
come from `query_start_loc_cpu` and match the device-derived values."""
|
||||
num_speculative_tokens = 2
|
||||
batch = BatchSpec(seq_lens=[50, 30], query_lens=[3, 3])
|
||||
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
||||
|
||||
Reference in New Issue
Block a user