Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/runtime/disco/nccl/nccl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@ void SyncWorker() {

TVM_FFI_STATIC_INIT_BLOCK({
namespace refl = tvm::ffi::reflection;
refl::GlobalDef().def("runtime.disco.compiled_ccl",
[]() -> String { return TVM_DISCO_CCL_NAME; });
.def("runtime.disco." TVM_DISCO_CCL_NAME ".init_ccl", InitCCL)
refl::GlobalDef()
.def("runtime.disco.compiled_ccl", []() -> String { return TVM_DISCO_CCL_NAME; })
.def("runtime.disco." TVM_DISCO_CCL_NAME ".init_ccl", InitCCL)
.def("runtime.disco." TVM_DISCO_CCL_NAME ".init_ccl_per_worker", InitCCLPerWorker)
.def("runtime.disco." TVM_DISCO_CCL_NAME ".allreduce",
[](NDArray send, int kind, bool in_group, NDArray recv) {
Expand Down
Loading