mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[PR #536] Add NVSHMEM guards for low_latency mask buffer functions #619
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepEP#619
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/DeepEP/pull/536
Author: @yurekami
Created: 12/25/2025
Status: 🔄 Open
Base:
main← Head:fix/nvshmem-guards-for-mask-buffer📝 Commits (1)
a5096e5Add NVSHMEM guards for low_latency mask buffer functions📊 Changes
1 file changed (+12 additions, -0 deletions)
View changed files
📝
csrc/deep_ep.cpp(+12 -0)📄 Description
Summary
#ifndef DISABLE_NVSHMEMguards to mask buffer functionsProblem
When building DeepEP with
DISABLE_NVSHMEM(for systems without NVSHMEM like sm86 A6000 or sm80 A100 without NVLink/RDMA), importing the module fails with:This is because the following functions reference
internode_ll::symbols without NVSHMEM guards:low_latency_update_mask_buffer()low_latency_query_mask_buffer()low_latency_clean_mask_buffer()Solution
Add
#ifndef DISABLE_NVSHMEMguards to these functions, matching the pattern used elsewhere in the codebase.Test plan
DISABLE_NVSHMEM=1 TORCH_CUDA_ARCH_LIST=8.0on sm80 systemimport deep_epsucceedsFixes #481
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.