onnxruntime
Update MoE offload implementation plan and implements a global state for MoE/QMoE
#32738
Merged

Update MoE offload implementation plan and implements a global state for MoE/QMoE #32738

xadupre merged 38 commits into main from docs/moe-offload-step-5
xadupre
xadupre Update MoE offload implementation plan
80219371
xadupre xadupre requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 17 days ago
xadupre Focus MoE plan on selected strategy
0f3ee97e
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-09-22
xadupre Define PR deliverables for MoE offload plan
aed8af9e
xadupre Specify MoE offload strategy in integration PR scope
a91e27d7
xadupre List four MoE offload policy session options
8a92ce6b
xadupre Separate session-global MoE counting from offload integration
c5db52ab
xadupre xadupre changed the title Update MoE offload implementation plan [DRAFT] Update MoE offload implementation plan and implements a global state for MoE/QMoE 17 days ago
xadupre Add session-global MoE expert state and invocation counting
b891acfc
xadupre Fix output-name span in MoE counter integration tests
4d7d6ebc
xadupre Apply global MoE expert counter policy
0d231ec0
xadupre Index MoE counters by kernel and expert at initialization
417ef7f1
xadupre Encapsulate MoE expert usage and gate optional diagnostics
c62002d1
xadupre Overlap MoE expert usage counting with CUDA computation
ca9cacaa
xadupre xadupre requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 16 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-09-23
xadupre Preserve existing OpKernelContext virtual method slots
7bea5b39
xadupre Fix MoE counting minimal-build size and CUDA plugin tests
ab4ea614
xadupre Simplify MoE counters with bounded coefficients
bccb9c9a
xadupre xadupre requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 16 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-09-23
xadupre Record expert usage directly in MoeExpertState
834ba457
xadupre Share expert collection through framework KernelUsage
6a17e1cb
xadupre Expose session-owned KernelUsage through kernel contexts
39409e6c
xadupre Rename CUDA usage adapter to CudaRoutingSnapshot
199d32ec
xadupre Add MoeExpertState::GetExpertStats() flat accessor
e9702672
xadupre Replace KernelUsage with generic KernelPilot + MoeExpertSelection
fe5c003f
xadupre Remove NodeCounters/GetSnapshot; SessionState exposes GetKernelPilot …
fbe2ac56
xadupre Simplify MoeExpertSelection: drop membership mask, keep only expert list
7d9f0f40
xadupre Remove NodeInfo; nodes_ now maps graph identity to the kernel pointer
9bfd1058
xadupre Free nodes_ once FinalizeInitialization() runs; it is Load()-only state
7ffcc525
xadupre Stop storing nodes_; build the graph-identity index locally inside Lo…
1383d336
xadupre Remove redundant MoE node type storage
5a080660
xadupre Refactor MoE kernel pilot state
7731b4a9
github-actions
github-actions commented on 2026-09-24
xadupre Move MoE logging into kernel pilot state
1225e9ca
github-actions
github-actions commented on 2026-09-24
xadupre Log MoE counter updates from kernel pilot state
9394e1c5
xadupre Clarify MoE redistribution synchronization
e0e53030
xadupre xadupre requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 15 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-09-24
xadupre Address MoE state review findings
97a5eee5
xadupre xadupre requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 15 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-09-24
xadupre Keep MoE counter commits lock-free
e4aad2f7
xadupre
xadupre xadupre requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 15 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-09-24
xadupre xadupre requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 15 days ago
xadupre Migrate QMoE tools to counter logs
8f36fc6f
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-09-24
xadupre xadupre requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 15 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-09-24
xadupre Fix minimal KernelPilot source exclusion
84c7712d
xadupre xadupre requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 15 days ago
xadupre xadupre changed the title [DRAFT] Update MoE offload implementation plan and implements a global state for MoE/QMoE Update MoE offload implementation plan and implements a global state for MoE/QMoE 15 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-09-24
xadupre xadupre requested a review from titaiwangms titaiwangms 15 days ago
titaiwangms
xadupre
xadupre Move usage commit into KernelPilot
77ce9cba
xadupre xadupre requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 14 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-09-25
xadupre Bound MoE counter logs and clarify collector lifecycle
c4b3fc5e
xadupre xadupre requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 14 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-09-25
xadupre Exclude CUDA MoE collector sources from minimal builds
81684882
xadupre xadupre requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 14 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-09-25
xadupre xadupre requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 14 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-09-25
titaiwangms
xadupre
titaiwangms
titaiwangms approved these changes on 2026-09-28
xadupre xadupre merged c2650ccb into main 10 days ago
xadupre xadupre deleted the docs/moe-offload-step-5 branch 10 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone