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:
co-authored by
Claude Opus 5
parent
804e5377aa
commit
8c1557a79c
@@ -84,7 +84,8 @@ def test_workspace_lanes_compose_with_ubatches(monkeypatch) -> None:
|
||||
|
||||
def test_workspace_lock_blocks_growth_and_unlock_restores(monkeypatch) -> None:
|
||||
"""Once locked, oversized requests fail loudly instead of reallocating the
|
||||
buffer that captured CUDA graphs point at; unlock restores growth."""
|
||||
buffer that captured CUDA graphs point at; unlock restores growth.
|
||||
"""
|
||||
monkeypatch.setattr(workspace, "dbo_current_ubatch_id", lambda: 0)
|
||||
manager = workspace.WorkspaceManager(torch.device("cpu"), num_lanes=1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user