Skip to content

MoE (mixture of experts) support for expert parallel #20982

@MeteorsHub

Description

@MeteorsHub

Description & Motivation

Hi, is there any tutorial on how to setup the expert parallel in lightning trainer? Maybe the shortest way is to use DeepSpeed MoE (https://www.deepspeed.ai/tutorials/mixture-of-experts/) since lightning support deep speed strategy. But it needs to set some optimizer parameter groups or something. Can anyone give me some hints to achieve this?

Pitch

No response

Alternatives

No response

Additional context

No response

cc @lantiga @Borda

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureIs an improvement or enhancementneeds triageWaiting to be triaged by maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions