Skip to content

Commit 964f35e

Browse files
committed
fix CI issue
1 parent a921900 commit 964f35e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

torchao/prototype/inductor/int8_sdpa_lowering.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ def int8_sdpa(
8585
if attn_mask is not None:
8686
input_nodes.append(attn_mask)
8787

88-
if torch._C._cpu._is_avx512_supported():
88+
# use template if machine has amx
89+
if torch._C._cpu._is_amx_tile_supported():
8990
CppInt8SdpaTemplate.add_choices(
9091
choices=choices,
9192
input_nodes=input_nodes,

0 commit comments

Comments
 (0)