diff --git a/apps/nccl/README.md b/apps/nccl/README.md index 364feeed2..2618b4f4d 100644 --- a/apps/nccl/README.md +++ b/apps/nccl/README.md @@ -44,3 +44,22 @@ The table below lists all NCCL APIs (v2.21). We may cover more APIs in the futur | ncclRecv | X | | ncclRedOpCreatePreMulSum | X | | ncclRedOpDestroy | X | + +### Executor Support + +The executor is a versatile tool designed to specify how mscclpp executes algorithms. Currently, only the allReduce operation allows for algorithm customization. The following environment variables can be managed: + +- ALLREDUCEPKT_IP_JSON_FILE: Specifies the path to the JSON file that defines the algorithm for small-sized, in-place operations. +- ALLREDUCEPKT_OP_JSON_FILE: Specifies the path to the JSON file that defines the algorithm for small-sized, out-of-place operations. +- ALLREDUCE_IP_JSON_FILE: Specifies the path to the JSON file that defines the algorithm for larger-sized, in-place operations. +- ALLREDUCE_OP_JSON_FILE: Specifies the path to the JSON file that defines the algorithm for larger-sized, out-of-place operations. +- ALLREDUCE_SMALL_MSG_BOUNDARY: Defines the size threshold at which the algorithm will switch between fallback code and the customized algorithm for small messages. +- ALLREDUCE_LARGE_MSG_BOUNDARY: Defines the size threshold at which the algorithm will switch between the customized algorithm for small messages and that for larger messages. + +|