Fix the test and add custom min/max reductions for uncommon MPI types (#2060)

This commit is contained in:
Angelos Katharopoulos
2025-04-10 17:01:17 -07:00
committed by GitHub
parent dfae2c6989
commit ddaa4b7dcb
4 changed files with 135 additions and 47 deletions

View File

@@ -53,7 +53,8 @@ void AllReduce::eval_cpu(
distributed::detail::all_min(group(), in, outputs[0], stream());
break;
default:
throw std::runtime_error("Only all reduce sum, min and max are supported for now");
throw std::runtime_error(
"Only all reduce sum, min and max are supported for now");
}
}