Skip to content

Conversation

@copybara-service
Copy link

Introduce gather() and scatter_add() reference functions for token-routing in Mixture-of-Experts models.

…n-routing in Mixture-of-Experts models.

PiperOrigin-RevId: 820298662
@suexu1025
Copy link
Collaborator

@jesselu-google do you want to include some simple moe test to cover this gather/scatter_add?

@jesselu-google
Copy link
Contributor

unit tests are included in an internal-only test file, let me know if you think it's worth it to replicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants