Repository navigation
[TRTLLM-17824][feat] Online EPLB for the DeepSeek-R1 modeling_v2 target #22285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ruocheng-nv
wants to merge
31
commits into
NVIDIA:main
Choose a base branch
from
ruocheng-nv:feat/mv2-ds-r1-online-eplb
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,349
−155
Open
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
e604e13
[TRTLLM-17824][fix] Decline EPLB in modeling_v2 targets that do not i…
ruocheng-nv 7386ca9
[TRTLLM-17824][feat] Static EPLB for the DeepSeek-R1 modeling_v2 target
ruocheng-nv 47865ab
[TRTLLM-17824][feat] Online EPLB for the DeepSeek-R1 modeling_v2 target
ruocheng-nv 283c131
[TRTLLM-17824][fix] Keep counted EPLB ids alive until close; skip onl…
ruocheng-nv 7bdeb64
[TRTLLM-17824][test] Run online EPLB GSM8K at dep4 only on GB300
ruocheng-nv 80111be
[TRTLLM-17824][fix] Release checkpoint keys as the DeepSeek-R1 target…
ruocheng-nv e7d811d
Merge remote-tracking branch 'upstream/main' into fix/mv2-eplb-guard
ruocheng-nv 80dc800
Merge branch 'fix/mv2-eplb-guard' into feat/mv2-ds-r1-static-eplb
ruocheng-nv 762eb29
Merge branch 'feat/mv2-ds-r1-static-eplb' into feat/mv2-ds-r1-online-…
ruocheng-nv 98ee560
[TRTLLM-17824][fix] Sort the routing test's imports after the merge w…
ruocheng-nv a4a014f
Merge branch 'fix/mv2-eplb-guard' into feat/mv2-ds-r1-static-eplb
ruocheng-nv a723860
Merge branch 'feat/mv2-ds-r1-static-eplb' into feat/mv2-ds-r1-online-…
ruocheng-nv 21ffddb
Merge remote-tracking branch 'upstream/main' into feat/mv2-ds-r1-stat…
ruocheng-nv 10f2828
[TRTLLM-17824][feat] Use the tensorrt_llm._torch.modeling_v2 path for…
ruocheng-nv 80d3d95
Merge branch 'feat/mv2-ds-r1-static-eplb' into feat/mv2-ds-r1-online-…
ruocheng-nv 4bc1efb
[TRTLLM-17824][feat] Use the tensorrt_llm._torch.modeling_v2 path for…
ruocheng-nv 9c31e42
[TRTLLM-17824][feat] Use the tensorrt_llm._torch.modeling_v2 path for…
ruocheng-nv 5186ddb
[TRTLLM-17824][test] Move the static EPLB shard tests to their own file
ruocheng-nv ffb7c78
Merge branch 'feat/mv2-ds-r1-static-eplb' into feat/mv2-ds-r1-online-…
ruocheng-nv 1bf6bcf
[TRTLLM-17824][doc] Show how to run EPLB on the DeepSeek-R1 modeling_…
ruocheng-nv e3ccbfb
[TRTLLM-17824][test] Check MTP acceptance under static EPLB, and gate…
ruocheng-nv 856ee04
Merge branch 'feat/mv2-ds-r1-static-eplb' into feat/mv2-ds-r1-online-…
ruocheng-nv 80be067
Merge remote-tracking branch 'upstream/main' into feat/mv2-ds-r1-stat…
ruocheng-nv 8144f2f
Merge branch 'feat/mv2-ds-r1-static-eplb' into feat/mv2-ds-r1-online-…
ruocheng-nv 328be78
[TRTLLM-17824][feat] Route each expert call through an EPLB context
ruocheng-nv 0e2e652
Merge remote-tracking branch 'upstream/main' into feat/mv2-ds-r1-stat…
ruocheng-nv 933def1
Merge branch 'feat/mv2-ds-r1-static-eplb' into feat/mv2-ds-r1-online-…
ruocheng-nv 3c99f6b
[TRTLLM-17824][fix] Decline warmup placement in the R1 target; keep t…
ruocheng-nv 5697b65
Merge remote-tracking branch 'origin/feat/mv2-ds-r1-static-eplb' into…
ruocheng-nv b169c92
Merge remote-tracking branch 'upstream/main' into feat/mv2-ds-r1-onli…
ruocheng-nv f80d9ce
[TRTLLM-17824][fix] Classify every nonzero update count as online EPL…
ruocheng-nv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Nice to have] (R6: Required documentation) agent-flow/agent_flow/workflows/trtllm_modeling_v2/agents/skills/trtllm-modeling-v2-features/references/features.md:609: - agent-flow/agent_flow/workflows/trtllm_modeling_v2/agents/skills/trtllm-modeling-v2-features/references/features.md:609 says "only the padding rows a target names with
eplb_call(..., rows=...)are left out". Butrowsnames the token rows (tensorrt_llm/_torch/modeling_v2/catalog/moe/eplb.py:362-367), so an agent following this would pass the padding ranges, and the statistic would count only padding. Padding rows are also still routed and computed; only the statistic leaves them out.modeling_v2: require, where the resolver raises instead (tests/unittest/_torch/modeling_v2/test_modeling_v2_routing.py:1732-1736). Say "autoruns the built-in model andrequirefails", as the bullet above does.