Fetch NUMA node with NF in awk.
This MR fetches the NUMA node from the nvidia-smi command with $NF in awk, which is not hard-coded to a number of GPUs in the system like before.
It also increments the build retries from 1 to 2, to make rare cases where CI build fails due to lack of memory even rarer.
Edited by Daniel Hugo Campora Perez