Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create param groups to handle expert + data case (e.g. param.group = moe_group) #233

Open
todo bot opened this issue Sep 28, 2021 · 0 comments
Open

Comments

@todo
Copy link

todo bot commented Sep 28, 2021

# TODO: Create param groups to handle expert + data case (e.g. param.group = moe_group)
for name, param in expert.named_parameters():
param.allreduce = False
def forward(self, inputs):
chunks = inputs.chunk(self.num_local_experts, dim=1)


This issue was generated by todo based on a TODO comment in 013a3c3 when #208 was merged. cc @BaguaSys.
@todo todo bot added the todo 🗒️ label Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants