8000 Fix imports · pytorch/builder@41682cc · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 41682cc

Browse files
committed
Fix imports
1 parent 954bf67 commit 41682cc
8000

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/smoke_test/smoke_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def foo(x: torch.Tensor) -> torch.Tensor:
260260

261261
# Check that SIMD were detected for the architecture
262262
if device == "cpu":
263-
from torch._inductor.cpu_vec_isa import invalid_vec_isa, pick_vec_isa
263+
from torch._inductor.codecache import pick_vec_isa, invalid_vec_isa
264264
isa = pick_vec_isa()
265265
if isa == invalid_vec_isa:
266266
raise RuntimeError("Can't detect vectorized ISA for CPU")

0 commit comments

Comments
 (0)
0