Skip to content

Commit

Permalink
TL/NCCL: disable active set colls for lazyinit
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei-Lebedev committed May 15, 2024
1 parent c65c4a3 commit 52c73a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/tl/nccl/tl_nccl_coll.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ ucc_status_t ucc_tl_nccl_init_task(ucc_base_coll_args_t *coll_args,
}

if (ucc_unlikely(nccl_team->comm_state != TL_NCCL_COMM_STATE_READY)) {
if (UCC_COLL_ARGS_ACTIVE_SET(&coll_args->args)) {
/* active set is not supported with lazy comm init*/
return UCC_ERR_NOT_SUPPORTED;
}
status = ucc_tl_nccl_comm_init(nccl_team);
if (ucc_unlikely(status != UCC_OK)) {
return status;
Expand Down

0 comments on commit 52c73a9

Please sign in to comment.