Fully disable MSCCL when machine is not matched (#1017)

* Disable MSCCL algorithm meta loading when machine is not matched

* fully disable init

* fix potential segfault

[ROCm/rccl commit: 655742a3a6]
This commit is contained in:
Ziyue Yang
2023-12-14 00:36:21 +08:00
committed by GitHub
parent 918ce6c2e2
commit e4b63a8ba0
4 changed files with 17 additions and 4 deletions
@@ -11,6 +11,7 @@
#include "msccl/msccl_struct.h"
bool mscclEnabled();
bool mscclForceEnabled();
void mscclSetIsCallerFlag();
void mscclClearIsCallerFlag();