forked from FlagOpen/FlagPerf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[metax] modify some config (FlagOpen#740)
* modify config * add config * modify --------- Co-authored-by: yaguang.wuyaguang <yaguang.wu@metax-tech.com>
- Loading branch information
1 parent
d63d8c0
commit 905607a
Showing
3 changed files
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 16 additions & 15 deletions
31
training/metax/llama3_8B-megatron/config/training_adapter.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
# for 1*8 3150 | ||
VENDOR_ARGS=" \ | ||
--transformer-impl local \ | ||
--use-distributed-optimizer \ | ||
--use-mcore-models \ | ||
--use-flash-attn \ | ||
--pipline-num-layers-list 7 9 9 7 | ||
" | ||
# for 4*8 | ||
# VENDOR_ARGS=" \ | ||
# --transformer-impl local \ | ||
# --use-distributed-optimizer \ | ||
# --use-mcore-models \ | ||
# --use-flash-attn \ | ||
# --attention-dropout 0.0 \ | ||
# --hidden-dropout 0.0 \ | ||
# --recompute-granularity full \ | ||
# --recompute-method block \ | ||
# --recompute-num-layers 1 \ | ||
# --recompute-num-layers-list 2 0 | ||
# " | ||
# --pipline-num-layers-list 7 9 9 7 | ||
# " | ||
# for 4*8 | ||
VENDOR_ARGS=" \ | ||
--transformer-impl local \ | ||
--use-distributed-optimizer \ | ||
--use-mcore-models \ | ||
--use-flash-attn \ | ||
--attention-dropout 0.0 \ | ||
--hidden-dropout 0.0 \ | ||
--pipline-num-layers-list 16 16 \ | ||
--recompute-granularity full \ | ||
--recompute-method block \ | ||
--recompute-num-layers 1 \ | ||
--recompute-num-layers-list 5 0 | ||
" |