Skip to content

chore: add DeepEP dependencies - #1045

Merged
terrykong merged 1 commit into
mainfrom
yukih/deepep-dependencies
Sep 10, 2025
Merged

terrykong merged 1 commit into
mainfrom
yukih/deepep-dependencies

Conversation

@yuki-97

@yuki-97 yuki-97 commented Sep 3, 2025 •

Copy link
Copy Markdown
Contributor

What does this PR do ?

This PR adds DeepEP dependencies and won't enable anything by default.

The generation perf w/ DeepEP is still under testing, will have another PR for it.

Usage

DeepEP can only work under IBGDA, please make sure the cluster has IBGDA or follow this guide to enable it.

We can turn on DeepEP w/ env var VLLM_ALL2ALL_BACKEND like below for now, will add param vllm_cfg.all2all_backend to replace it in later PR.

# use DeepEP high_throughput all2all backend in vLLM generation
VLLM_ALL2ALL_BACKEND=deepep_high_throughput \
uv run python examples/run_grpo_math.py \
    ... \
    policy.generation.vllm_cfg.enable_expert_parallel=true \
    ...

# use DeepEP deepep_low_latency all2all backend in vLLM generation
VLLM_ALL2ALL_BACKEND=deepep_low_latency \
uv run python examples/run_grpo_math.py \
    ... \
    policy.generation.vllm_cfg.enable_expert_parallel=true \
    ...

Signed-off-by: Yuki Huang <[email protected]>
@terrykong

terrykong commented Sep 3, 2025 •

Copy link
Copy Markdown
Collaborator

Will this PR enable anything by default? Or does it need to be enabled explicitly to invoke this code path?

Also could you share how to turn deepep on in the description if it can be done from this PR?

@yuki-97

yuki-97 commented Sep 3, 2025

Copy link
Copy Markdown
Contributor Author

@terrykong updated in description.

@terrykong

Copy link
Copy Markdown
Collaborator

Awesome. Thanks!

@terrykong
terrykong added this pull request to the merge queue Sep 10, 2025
Merged via the queue into main with commit 915c79c Sep 10, 2025
@terrykong
terrykong deleted the yukih/deepep-dependencies branch September 10, 2025 20:13
guyueh1 pushed a commit to guyueh1/NeMo-RL that referenced this pull request Sep 15, 2025
PrinsYin pushed a commit to PrinsYin/RL that referenced this pull request Nov 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants