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

MOE uses more memory than dense model and is slower #166

Open
samuelwheeler opened this issue Mar 3, 2025 · 0 comments
Open

MOE uses more memory than dense model and is slower #166

samuelwheeler opened this issue Mar 3, 2025 · 0 comments

Comments

@samuelwheeler
Copy link

I am training a ~520 M model, but I have found that the megablocks moe version uses substantially more memory and takes longer to train than a dense model of corresponding size. I am using a model embedding dimension of 1536. The moe model has 48 experts with 8 active and and expert size of 128. I set lbl loss weight to 0.001.

Image Image Image
@samuelwheeler samuelwheeler changed the title MOE uses much more memory than dense model and is substantially slower MOE uses more memory than dense model and is substantially slower Mar 3, 2025
@samuelwheeler samuelwheeler changed the title MOE uses more memory than dense model and is substantially slower MOE uses more memory than dense model and is slower Mar 3, 2025
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

No branches or pull requests

1 participant