Skip to content

Commit 56721f2

Browse files
committed
Format
Signed-off-by: Austin Liu <[email protected]>
1 parent 81c6411 commit 56721f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/scripts/benchmark_dpo_loss.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def bench_memory_dpo_loss(input: SingleBenchmarkRunInput) -> SingleBenchmarkRunO
9191
_input = torch.randn(B, T, H, device=device, dtype=dtype)
9292
# Target shape: [B, T]
9393
target = torch.randint(V, (B, T), dtype=torch.long, device=device)
94-
94+
9595
ref_chosen_logps = torch.randn(B // 2, device=device)
9696
ref_rejected_logps = torch.randn(B // 2, device=device)
9797

0 commit comments

Comments
 (0)