We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75b5096 commit 25cb3d3Copy full SHA for 25cb3d3
aiu_fms_testing_utils/scripts/inference.py
@@ -343,6 +343,8 @@
343
numa_rank = dist.get_rank()
344
numa_node = dist.get_rank() // numa_size_per_node
345
schedule.run_on_nodes(numa_node)
346
+ from numa import memory
347
+ memory.set_local_alloc()
348
dprint(f"NUMA: process {numa_rank} set to node {numa_node}")
349
except:
350
dprint(f"NUMA not available in this machine, please install libnuma libraries")
0 commit comments