Changed Reduce to Allreduce