correctly init moe class #19

Merged
Fabel merged 1 commits from bug_fixes into main 2025-03-03 16:46:05 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ class AIIAExpert(AIIA):
class AIIAmoe(AIIA):
def __init__(self, config: AIIAConfig, num_experts: int = 3, base_class=AIIABase, **kwargs):
super().__init__()
super().__init__(config=config, **kwargs)
self.config = config
# Update the config to include the number of experts.