Browse Source

feat(mge/imperative): add io remote wrapper

GitOrigin-RevId: 6dae8287d3
release-0.6
Megvii Engine Team 4 years ago
parent
commit
c76789a5c9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/opr-mm/impl/io_remote.cpp

+ 2
- 2
src/opr-mm/impl/io_remote.cpp View File

@@ -59,7 +59,7 @@ void RemoteSend::scn_do_execute() {
comp_node.get_uid());

m_megray_comm = MegRayCommBuilder::get_megray_comm(
reg_info.hash, m_key, 2, 0, MegRay::MEGRAY_UCX, m_group_client);
reg_info.hash, m_key, 2, 0, MegRay::MEGRAY_NCCL, m_group_client);

m_megray_ctx = MegRay::CudaContext::make(get_stream(output(0)));

@@ -158,7 +158,7 @@ void RemoteRecv::scn_do_execute() {
comp_node.get_uid());

m_megray_comm = MegRayCommBuilder::get_megray_comm(
reg_info.hash, m_key, 2, 1, MegRay::MEGRAY_UCX, m_group_client);
reg_info.hash, m_key, 2, 1, MegRay::MEGRAY_NCCL, m_group_client);

m_megray_ctx = MegRay::CudaContext::make(get_stream(output(0)));



Loading…
Cancel
Save