From c95997f8c4bf086763d71496741b2284e97da64a Mon Sep 17 00:00:00 2001 From: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com> Date: Mon, 23 Jun 2025 11:44:06 +0800 Subject: [PATCH] Update deep_ep.cpp (#242) --- csrc/deep_ep.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/csrc/deep_ep.cpp b/csrc/deep_ep.cpp index 9c90178..75906f6 100644 --- a/csrc/deep_ep.cpp +++ b/csrc/deep_ep.cpp @@ -35,7 +35,7 @@ Buffer::Buffer(int rank, int num_ranks, int64_t num_nvl_bytes, int64_t num_rdma_ rdma_rank = rank / NUM_MAX_NVL_PEERS, nvl_rank = rank % NUM_MAX_NVL_PEERS; num_rdma_ranks = std::max(1, num_ranks / NUM_MAX_NVL_PEERS), num_nvl_ranks = std::min(num_ranks, NUM_MAX_NVL_PEERS); #ifdef DISABLE_NVSHMEM - EP_HOST_ASSERT(num_rdma_ranks == 1 and not low_latency_mode and "NVSHMEM is disable during compilation"); + EP_HOST_ASSERT(num_rdma_ranks == 1 and not low_latency_mode and "NVSHMEM is disabled during compilation"); #endif // Get device info @@ -151,7 +151,7 @@ pybind11::bytearray Buffer::get_local_nvshmem_unique_id() const { auto unique_id = internode::get_unique_id(); return {reinterpret_cast(unique_id.data()), unique_id.size()}; #else - EP_HOST_ASSERT(false and "NVSHMEM is disable during compilation"); + EP_HOST_ASSERT(false and "NVSHMEM is disabled during compilation"); #endif } @@ -895,7 +895,7 @@ Buffer::internode_dispatch(const torch::Tensor& x, const std::optional