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 d33e81d commit 8dfc24cCopy full SHA for 8dfc24c
.buildkite/nightly-benchmarks/scripts/run-performance-benchmarks.sh
@@ -33,7 +33,8 @@ check_gpus() {
33
34
check_cpus() {
35
# check the number of CPUs and NUMA Node and GPU type.
36
- declare -g numa_count=$(python3 -c "from numa import info;numa_size = info.get_num_configured_nodes(); print(numa_size)")
+ last_numa_index=$(cat /sys/devices/system/node/online | cut -d'-' -f2)
37
+ declare -g numa_count=$((last_numa_index+1))
38
if [[ $numa_count -gt 0 ]]; then
39
echo "NUMA found."
40
echo $numa_count
0 commit comments