-
Notifications
You must be signed in to change notification settings - Fork 631
[simplefsdp] fix & enable DSV3 manual bucketing #2080
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
base: main
Are you sure you want to change the base?
Conversation
f931aa9 to
88b700b
Compare
| ), | ||
| "16B": DeepSeekV3ModelArgs( | ||
| vocab_size=102400, | ||
| dim=2048, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tianyu-l Should we have another config to allow users to turn on/off flexattention? Currently, flexattention doesn't work well with AC here. cc. @soulitzer for AC issue follow up!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what was the symptom?
also if it doesn't work why do we add an entry for it -- is it for repro?
| for m in modules: | ||
| if isinstance(m, list): | ||
| result.append(convert_modules_to_fqns(m, module_to_fqn_mapping)) | ||
| if fqn_list := convert_modules_to_fqns(m, module_to_fqn_mapping): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does the syntax mean -- assigning to fqn_list and check not None? It feels a bit unusual to read.
Also please add a comment on why we need this check
| ), | ||
| "16B": DeepSeekV3ModelArgs( | ||
| vocab_size=102400, | ||
| dim=2048, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what was the symptom?
also if it doesn't work why do we add an entry for it -- is it for repro?
Validate DSV3 manual bucketing when EP/TP are enable. Tested on DSV3-16B model. Dependent on Pytorch PR
(Single Node: BS = 1)