We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d8be61 commit e409fe2Copy full SHA for e409fe2
tritonbench/operators/gemm/warp_spec_persistent_matmul.py
@@ -9,7 +9,12 @@
9
import torch
10
import triton
11
import triton.language as tl
12
-from triton.tools.tensor_descriptor import TensorDescriptor
+# Conditional import for TensorDescriptor - only available in newer Triton versions
13
+try:
14
+ from triton.tools.tensor_descriptor import TensorDescriptor
15
+except ModuleNotFoundError:
16
+ TensorDescriptor = None
17
+
18
19
# TODO: Add proton support
20
0 commit comments