Skip to content

Commit a556782

Browse files
committed
set PyTorch CPU limits for aarch64/{generic,neoverse_n1,neoverse_v1}
1 parent 5b9657a commit a556782

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

eb_hooks.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2021,6 +2021,11 @@ def set_maximum(parallel, max_value):
20212021
'*': (divide_by_factor, 2),
20222022
CPU_TARGET_A64FX: (set_maximum, 1),
20232023
},
2024+
'PyTorch': {
2025+
CPU_TARGET_AARCH64_GENERIC: (divide_by_factor, 2),
2026+
CPU_TARGET_NEOVERSE_N1: (divide_by_factor, 2),
2027+
CPU_TARGET_NEOVERSE_V1: (divide_by_factor, 2),
2028+
},
20242029
'QuantumESPRESSO': {
20252030
CPU_TARGET_A64FX: (set_maximum, 6),
20262031
},

0 commit comments

Comments
 (0)