Skip to content

Commit

Permalink
[devops] fix compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ver217 committed Mar 11, 2024
1 parent 8020f42 commit b01e13b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .compatibility
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
2.0.0-11.7.0
2.1.0-11.8.0
2.1.0-12.1.0
3 changes: 1 addition & 2 deletions colossalai/booster/plugin/moe_hybrid_parallel_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def __init__(
overlap_communication: bool = True,
use_ep_inside: bool = True,
custom_policy: Policy = None,
checkpoint_io: Optional[MoECheckpintIO] = None,
checkpoint_io: Optional[MoECheckpointIO] = None,
) -> None:
assert (
dist.get_world_size() % (tp_size * pp_size) == 0
Expand Down Expand Up @@ -341,7 +341,6 @@ def seed_worker(worker_id):
**_kwargs,
)


def get_checkpoint_io(self) -> MoECheckpointIO:
if self.checkpoint_io is None:
self.checkpoint_io = MoECheckpointIO(self.dp_group, self.pp_group, self.tp_group, self.zero_stage)
Expand Down

0 comments on commit b01e13b

Please sign in to comment.