intelligent-machine-learning/dlrover

Add balance loss in atorch moe example

Open

#1,300 opened on Oct 18, 2024

 (0 comments) (0 reactions) (0 assignees)Python (216 forks)github user discovery
Hacktoberfesttodo

Repository metrics

Stars
 (1,675 stars)
PR merge metrics
 (Avg merge 4d 6h) (3 merged PRs in 30d)

Description

Add balance loss in moe example.

We add use aux loss to router in moe example, similar to aux loss implementation in megatron moe.

Contributor guide