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
@@ -331,7 +331,7 @@ def test_drafting_uses_a_separate_noise_stream():
|
||||
|
||||
|
||||
def test_greedy_temperature_zero_returns_argmax():
|
||||
"""temperature == 0 skips Gumbel noise and returns the exact argmax."""
|
||||
"""Temperature == 0 skips Gumbel noise and returns the exact argmax."""
|
||||
torch.manual_seed(0)
|
||||
num_reqs = 128
|
||||
logits = torch.randn(num_reqs, VOCAB_SIZE, device=DEVICE, dtype=torch.float32)
|
||||
|
||||
Reference in New Issue
Block a user