Skip to content

[DeepSeek] Move seqlen from model config to setup_symm_mem #1017

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

Open
wants to merge 8 commits into
base: symm_bwd
Choose a base branch
from

Conversation

kwen2501
Copy link
Contributor

Just a UI change. The seqlen is mainly used in setting up symm mem. That's why we move it out of model config.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Mar 24, 2025
@kwen2501 kwen2501 requested a review from lessw2020 March 24, 2025 23:20
Copy link
Contributor

@lessw2020 lessw2020 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!
One note - the changes in symm_mem_recipes are assumed but not present here in this PR as a change nor in main? (I had to hand add those to get things to run).

verified changes as well:

Creating model stage 0 of 2
Creating model stage 1 of 2
Creating model stage 0 of 2
Creating model stage 1 of 2
EP rank [0]: Created Symmetric Memory for MoE
EP rank [1]: Created Symmetric Memory for MoE
EP rank [1]: Created Symmetric Memory for MoE
EP rank [0]: Created Symmetric Memory for MoE
NCCL version 2.25.1+cuda12.2
NCCL version 2.25.1+cuda12.2
NCCL version 2.25.1+cuda12.2
<|begin▁of▁sentence|>You are a helpful assistant.

User: What is 2+2?

Assistant: 2 + 2 equals 4.<|end▁of▁sentence|>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants