8000
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 d255df8 commit 966689bCopy full SHA for 966689b
torch/_inductor/codegen/cuda/cutlass_lib_extensions/evt_extensions.py
@@ -69,10 +69,11 @@ def create_example_tensors(
69
def cutlass_tensor_from_buffer(buffer: Buffer) -> CutlassTensor:
70
shape = buffer.get_layout().size
71
stride = buffer.get_layout().stride
72
- assert all(isinstance(x, int) for x in buffer.get_layout().stride), (
+
73
+ assert all(x.is_integer for x in shape), (
74
f"{buffer.get_name()}'s shape {shape} contains symints which aren't supported for cutlass EVT"
75
)
76
+ assert all(x.is_integer for x in stride), (
77
f"{buffer.get_name()}'s stride {stride} contains symints which aren't supported for cutlass EVT"
78
79
shape = tuple(int(x) for x in shape)
0 commit comments