Skip to content

Question about expert choice rouiting #46

@lionel-me

Description

@lionel-me

Hello, thank you for your work. I'd like to ask some questions about expert choice routing:

  1. While looking for code implementations of this part, I found that Google's implementation mentions in a comment that expert choice routing is not suitable for decoder-only architectures (https://github.com/google/flaxformer/blob/main/flaxformer/architectures/moe/routing.py#L655). I'm curious about how you handled this issue in your experiments.
  2. I'd like to know how you perform expert choice routing calculations during inference. With kv-cache, the ffn layer typically needs to compute only one token at a time. Or, does the expert choice routing model not utilize kv-cache during inference?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions