Monitoring hardware utilization when training on GPUs in distributed machine learning