Skip to content

Commit ba17b97

Browse files
authored
Enable TLX kernels when TLX is available
Differential Revision: D83983601 Pull Request resolved: #517
1 parent 39ca6ce commit ba17b97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tritonbench/operators/blackwell_attentions/operator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ def gluon_blackwell_tutorial_persistent_fwd(
504504
)
505505

506506
# Only works with triton beta, forward only.
507-
@register_benchmark(enabled=False)
507+
@register_benchmark(enabled=HAS_TLX)
508508
def tlx_blackwell_ws_pipelined_fwd(
509509
self,
510510
q: torch.Tensor,
@@ -514,7 +514,7 @@ def tlx_blackwell_ws_pipelined_fwd(
514514
return lambda: tlx_blackwell_fwd(q, k, v, self.sm_scale, False)
515515

516516
# Only works with triton beta, forward only.
517-
@register_benchmark(enabled=False)
517+
@register_benchmark(enabled=HAS_TLX)
518518
def tlx_blackwell_ws_pipelined_persistent_fwd(
519519
self,
520520
q: torch.Tensor,

0 commit comments

Comments
 (0)