Moved mscclpp_ncclGetUniqueId call into ncclCommInitRankFunc (#1332)

* Moved call to `mscclpp_ncclGetUniqueId` into `ncclCommInitRankFunc` to avoid setting up transport early in environments where MSCCL++ isn't valid.

* Checking `mscclEnabled` for the process and the topology to gate MSCCL++.

* Allowed `mscclForceEnable` to enable MSCCL++.
이 커밋은 다음에 포함됨:
corey-derochie-amd
2024-09-16 16:41:40 -06:00
커밋한 사람 GitHub
부모 ad94c651ad
커밋 853a0586b4
3개의 변경된 파일과 38개의 추가작업 그리고 33개의 파일을 삭제
+6
파일 보기
@@ -84,6 +84,12 @@ static bool mscclCommCompatible(ncclComm_t comm) {
return true;
}
#ifdef ENABLE_MSCCLPP
bool mscclppCommCompatible(ncclComm_t comm) {
return mscclCommCompatible(comm);
}
#endif
const char *mscclFuncNames[] = {
"mscclFuncReduce",
"mscclFuncBroadcast",