Repository navigation
Conversation
JazyJiang
force-pushed
the
feat/moe-ep-layer
branch
from
November 10, 2026 04:53
9a1c8b8 to
fba7062
Compare
refinedheart
force-pushed
the
fix/moe-ep-layer-checkpoint
branch
from
November 12, 2026 07:19
531a9c4 to
f3bd9eb
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Background
EPMoELayerkeeps only the current EP rank's expert shards.MoECheckpointIOgathers expert parameters markedep_fusedwhen saving, but the layer did not mark its fused expert parameters or slice a full checkpoint tensor back to the local shard when loading.Changes
gate_up_projanddown_projasep_fusedso the existing checkpoint IO gathers complete expert tensors.[num_experts, ...]tensors using the layer'slocal_expert_range.load_state_dictsize-mismatch error.MoECheckpointIO.No public Python API or checkpoint format is introduced. This PR does not change expert computation or gradient synchronization.
Test environment
wangzhijian/colossalai-ci:torch2.13-cu130-tf5.17.0-peft0.21.2-20261022-091529Tests
The three skips are pre-existing CUDA/TensorNVMe-gated optimizer async-save tests:
test_real_async_writerandtest_general_repeated_async_save[False/True]. They are unrelated to this change.Known limits
Public Qwen3-MoE Booster/checkpoint/HF-readback coverage is being developed separately with the Qwen3-MoE policy. This PR does not claim that model-level GPU checkpoint acceptance or full L2 validation has completed.