-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Glm4Moe: fix attn_mask && fused_loss #2648
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: develop
Are you sure you want to change the base?
Conversation
|
Thanks for your contribution! |
Codecov Report❌ Patch coverage is
❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## develop #2648 +/- ##
==========================================
Coverage ? 29.52%
==========================================
Files ? 311
Lines ? 54249
Branches ? 0
==========================================
Hits ? 16017
Misses ? 38232
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| model_config.num_nextn_predict_layers = model_args.num_nextn_predict_layers | ||
| model_config._attn_implementation = model_args.attn_impl | ||
| if training_args.use_expert_parallel and training_args.expert_parallel_degree >= 1: | ||
| model_config.n_group = training_args.expert_parallel_degree |
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.
model_config.n_group 不是每个模型都叫n_group,看看怎么处理通用化一些
改动: