Skip to content

Commit f54c49d

Browse files
committed
Rebase and fix lints
1 parent 390699f commit f54c49d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tritonbench/operators/flash_attention/operator.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -377,10 +377,10 @@ def colfax_cutlass(self, q, k, v):
377377
@register_benchmark(enabled=bool(tk_fwd is not None))
378378
def tk(self, q, k, v):
379379
o = torch.zeros_like(v)
380-
l = torch.zeros_like(o).to(torch.float32)
380+
l_tensor = torch.zeros_like(o).to(torch.float32)
381381

382382
def tk_dispatcher():
383-
tk_fwd.attention_forward(q, k, v, o, l, causal=self.causal)
383+
tk_fwd.attention_forward(q, k, v, o, l_tensor, causal=self.causal)
384384
return o
385385

386386
return tk_dispatcher

0 commit comments

Comments
 (0)