8000 Update codecache.py · pytorch/pytorch@35eddf6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 35eddf6

Browse files
malfetpytorchmergebot
authored andcommitted
Update codecache.py
1 parent 086acd0 commit 35eddf6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

torch/_inductor/codecache.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1497,9 +1497,8 @@ def _check_and_append_supported_isa(
14971497
def valid_vec_isa_list() -> List[VecISA]:
14981498
isa_list: List[VecISA] = []
14991499
if sys.platform == "darwin" and platform.processor() == "arm":
1500-
return isa_list.append(VecNEON())
1500+
isa_list.append(VecNEON())
15011501

1502-
cur_os = sys.platform
15031502
if sys.platform not in ["linux", "win32"]:
15041503
return isa_list
15051504

0 commit comments

Comments
 (0)
0