Skip to content

Commit

Permalink
fix: post init check removed from FastMoe, experimental set to True
Browse files Browse the repository at this point in the history
Signed-off-by: Will Johnson <[email protected]>
  • Loading branch information
willmj committed Nov 18, 2024
1 parent ac757a8 commit 51635d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class AccelerationFrameworkConfig:
path="training.moe",
key="scattermoe",
standalone=True,
experimental=False,
experimental=True,
required_packages=["moe"],
),
] = None
Expand Down
6 changes: 0 additions & 6 deletions tuning/config/acceleration_configs/fast_moe.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ class FastMoe:

ep_degree: int = 1

def post_init(self):
assert self.world_size % self.ep_degree == 0, (
f"world size ({self.world_size}) "
f"not divisible by ep_size ({self.ep_degree})."
)


@dataclass
class FastMoeConfig:
Expand Down

0 comments on commit 51635d6

Please sign in to comment.