8000 Update on "[Cutlass] Fix tests" · pytorch/pytorch@96924f3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 96924f3

Browse files
committed
Update on "[Cutlass] Fix tests"
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov [ghstack-poisoned]
1 parent d39c4ef commit 96924f3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/inductor/test_cutlass_evt.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,8 @@ def inner_fn_buf4(index):
208208

209209
self.assertExpectedInline(
210210
str(result),
211-
"""Unsupported indexing for buf0 with index 200*i0 + 60000*i1 + i2 and strides [200, 60000, 1]""",
211+
"""Unsupported indexing for buf0 with index 200*i0 + 60000*i1 + i2, \
212+
index strides [200, 60000, 1], and layout stride [60000, 200, 1]""",
212213
)
213214

214215
@unittest.skipIf(not SM90OrLater, "need sm_90")
@@ -359,10 +360,7 @@ def test_example_tensor_creation(self):
359360
@unittest.skipIf(not SM90OrLater, "need sm_90")
360361
@unittest.skipIf(not try_import_cutlass(), "requires cutlass")
361362
def test_evt_argument_codegen(self):
362-
from torch._inductor.codegen.cuda.cuda_env import get_cuda_arch
363-
364-
cuda_arch = int(get_cuda_arch()) # type: ignore[arg-type]
365-
epilogue_functor = _trace(BIAS_CODE, EXAMPLE_TENSORS, cuda_arch)
363+
epilogue_functor = _trace(BIAS_CODE, EXAMPLE_TENSORS)
366364

367365
self.assertExpectedInline(
368366
_render_argument_type(

0 commit comments

Comments
 (0)

Footer

© 2025 GitHub, Inc.
0