Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions megatron/core/distributed/fsdp/mcore_fsdp_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,6 @@ def __init__(
self.megatron_fsdp_dist_index = self._init_dist_index(pg_collection)

if config.gradient_accumulation_fusion:
assert (
self.megatron_fsdp_dist_index.get_dp_group(is_expert_parallel=True).size() == 1
), (
"Megatron-FSDP with gradient_accumulation_fusion does not support "
"data parallelism when expert parallelism is enabled."
)
assert is_te_min_version("2.10"), (
"Megatron-FSDP with gradient_accumulation_fusion requires "
"Transformer Engine version 2.10 or higher."
Expand Down
Loading