refactor(autoep-zero3): drop files already covered by #7938#19
Merged
Conversation
Signed-off-by: nathon-lee <leejianwoo@gmail.com>
scripts/check-license.py uses 'git grep -e ^# SPDX-License-Identifier: Apache-2.0$', which doesn't match compound expressions. Split 'Apache-2.0 AND BSD-3-Clause' into a primary SPDX line plus an 'Additional license' note; THIRD_PARTY_NOTICES.md still records the BSD-3-Clause portion. Signed-off-by: nathon-lee <leejianwoo@gmail.com>
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.
refactor(autoep-zero3): drop files already covered by deepspeedai#7938
PR deepspeedai#7938 (Add AutoEP) will be merged before this PR. Remove duplicate
content from this branch so the diff against master contains only the
ZeRO-3 integration delta after deepspeedai#7938 lands.
Reset to Add AutoEP deepspeedai/DeepSpeed#7938 version (no Z3-specific logic in this branch's copy):
deepspeed/checkpoint/constants.py
deepspeed/module_inject/auto_ep.py
deepspeed/module_inject/auto_ep_config.py
deepspeed/moe/{ep_count,ep_experts,ep_kernels,ep_repack,ep_router}.py
deepspeed/runtime/{config,engine}.py
Reset auto_ep_layer.py to Add AutoEP deepspeedai/DeepSpeed#7938 and re-apply the Z3-only delta:
tag expert params with
_autoep_expert=Trueso ZeRO-3 skips DPpartitioning for already-EP-partitioned experts.
Remove tests/unit/moe/test_autoep_smoke.py (byte-identical duplicate
of test_autoep_zero3.py).
Remaining Z3-specific changes:
deepspeed/moe/utils.py
deepspeed/runtime/zero/{partition_parameters,stage3}.py
deepspeed/module_inject/auto_ep_layer.py (expert tagging)
docs/_tutorials/autoep.md
tests/pytest.ini (autoep marker)
tests/unit/moe/test_autoep_zero3.py