Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ MODEL_ARGS:
--bf16: true
--exit-interval: 51000
--wandb-save-dir: ${WANDB_SAVE_PATH}
--async-save: true
METRICS:
- "iteration-time"
- "lm loss"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ MODEL_ARGS:
--bf16: true
--exit-interval: 51000
--wandb-save-dir: ${WANDB_SAVE_PATH}
--async-save: true
METRICS:
- "iteration-time"
- "lm loss"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ MODEL_ARGS:
--bf16: true
--exit-interval: 13000
--wandb-save-dir: ${WANDB_SAVE_PATH}
--async-save: true
METRICS:
- "iteration-time"
- "lm loss"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ MODEL_ARGS:
--bf16: true
--exit-interval: 13000
--wandb-save-dir: ${WANDB_SAVE_PATH}
--async-save: true
METRICS:
- "iteration-time"
- "lm loss"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ MODEL_ARGS:
--bf16: true
--log-memory-to-tensorboard: true
--exit-interval: 25
--async-save: true
TEST_TYPE: regular
METRICS:
- "iteration-time"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ MODEL_ARGS:
--data-cache-path: ${DATA_CACHE_PATH}
--bf16: true
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
METRICS:
- "iteration-time"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ MODEL_ARGS:
--log-memory-to-tensorboard: true
# rerun settings
--rerun-mode: disabled
--async-save: true
AFTER_SCRIPT: |
check_log() { if [[ -z $(grep -r $1 "$2" $LOG_DIR) ]]; then exit 1; else echo OK; fi }
check_log_not() { if [[ -z $(grep -r $1 "$2" $LOG_DIR) ]]; then echo OK; else exit 1; fi }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ MODEL_ARGS:
--log-memory-to-tensorboard: true
# rerun settings
--rerun-mode: validate_results
--async-save: true
AFTER_SCRIPT: |
check_log() { if [[ -z $(grep -r $1 "$2" $LOG_DIR) ]]; then exit 1; else echo OK; fi }
check_log -F "WARNING:megatron.core.rerun_state_machine:Result validation enabled"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ MODEL_ARGS:
--rerun-mode: validate_results
--error-injection-rate: 100
--error-injection-type: persistent_error
--async-save: true
AFTER_SCRIPT: |
check_log() { if [[ -z $(grep -r $1 "$2" $LOG_DIR) ]]; then exit 1; else echo OK; fi }
check_log -F "Result validation enabled"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ MODEL_ARGS:
--log-memory-to-tensorboard: true
# rerun settings
--rerun-mode: validate_results
--async-save: true
AFTER_SCRIPT: |
check_log() { if [[ -z $(grep -r $1 "$2" $LOG_DIR) ]]; then exit 1; else echo OK; fi }
check_log -F "WARNING:megatron.core.rerun_state_machine:Result validation enabled"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ MODEL_ARGS:
--log-memory-to-tensorboard: true
# rerun settings
--rerun-mode: validate_results
--async-save: true
AFTER_SCRIPT: |
check_log() { if [[ -z $(grep -r $1 "$2" $LOG_DIR) ]]; then exit 1; else echo OK; fi }
check_log -F "WARNING:megatron.core.rerun_state_machine:Result validation enabled"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ MODEL_ARGS:
--log-memory-to-tensorboard: true
# rerun settings
--rerun-mode: validate_results
--async-save: true
AFTER_SCRIPT: |
check_log() { if [[ -z $(grep -r $1 "$2" $LOG_DIR) ]]; then exit 1; else echo OK; fi }
check_log -F "successfully loaded checkpoint"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ BASE_MODEL_ARGS: &BASE_MODEL_ARGS
--dist-ckpt-optim-fully-reshardable: true
--save: ${CHECKPOINT_SAVE_PATH}
--load: ${CHECKPOINT_LOAD_PATH}/model/mcore_gpt/gpt3_4b_pyt/25.03.05_bf16_rerun-enabled_v2
--async-save: true
# data settings
--data-cache-path: ${DATA_CACHE_PATH}
--data-path: ${DATA_PATH}/text/the_pile/shard00/my-gpt3_00_text_document
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ MODEL_ARGS:
--rerun-mode: validate_results
--error-injection-rate: 100
--error-injection-type: transient_error
--async-save: true
AFTER_SCRIPT: |
check_log() { if [[ -z $(grep -r $1 "$2" $LOG_DIR) ]]; then exit 1; else echo OK; fi }
check_log -F "WARNING:megatron.core.rerun_state_machine:Result validation enabled"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ MODEL_ARGS:
--fim-data: true
--fim-rate: 0.5
--fim-spm-rate: 0.5
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ MODEL_ARGS:
# MuP (Maximal Update Parameterization) args
--use-mup: true
--mup-base-hidden-size: 256
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ MODEL_ARGS:
--data-cache-path: ${DATA_CACHE_PATH}
--bf16: true
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: ckpt-resume
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ MODEL_ARGS:
--data-cache-path: ${DATA_CACHE_PATH}
--bf16: true
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: ckpt-resume
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: flash
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: flash
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: ckpt-resume
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ MODEL_ARGS:
--data-cache-path: ${DATA_CACHE_PATH}
--bf16: true
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: ckpt-resume
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ MODEL_ARGS:
--data-cache-path: ${DATA_CACHE_PATH}
--bf16: true
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: ckpt-resume
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ MODEL_ARGS:
--data-cache-path: ${DATA_CACHE_PATH}
--bf16: true
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: ckpt-resume
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ MODEL_ARGS:
--data-cache-path: ${DATA_CACHE_PATH}
--bf16: true
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: ckpt-resume
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ MODEL_ARGS:
--data-cache-path: ${DATA_CACHE_PATH}
--bf16: true
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular # Usually ckpt-resume, but as a WAR to #513 set to regular
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ MODEL_ARGS:
--data-cache-path: ${DATA_CACHE_PATH}
--bf16: true
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: ckpt-resume
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ MODEL_ARGS:
--data-cache-path: ${DATA_CACHE_PATH}
--bf16: true
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: ckpt-resume
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,5 @@ MODEL_ARGS:
--data-cache-path: ${DATA_CACHE_PATH}
--bf16: true
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular # Usually ckpt-resume, but as a WAR to #513 set to regular
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,5 @@ MODEL_ARGS:
--data-cache-path: ${DATA_CACHE_PATH}
--bf16: true
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular # Usually ckpt-resume, but as a WAR to #513 set to regular
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ MODEL_ARGS:
--data-cache-path: ${DATA_CACHE_PATH}
--bf16: true
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular # Usually ckpt-resume, but as a WAR to #513 set to regular
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ MODEL_ARGS:
--decoder-last-pipeline-num-layers: 2
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ MODEL_ARGS:
--account-for-loss-in-pipeline-split: true
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: flash
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: flash
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: frozen-resume
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ MODEL_ARGS:
--data-cache-path: ${DATA_CACHE_PATH}
--bf16: true
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: ckpt-resume
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: ckpt-resume
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: ckpt-resume
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: flash
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: ckpt-resume
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ MODEL_ARGS:
--data-cache-path: ${DATA_CACHE_PATH}
--bf16: true
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: ckpt-resume
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: unfused
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: flash
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ MODEL_ARGS:
--attention-backend: flash
--log-memory-to-tensorboard: true
--calculate-per-token-loss: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ MODEL_ARGS:
--attention-backend: flash
--log-memory-to-tensorboard: true
--calculate-per-token-loss: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ MODEL_ARGS:
--use-tp-pp-dp-mapping: true
--expert-tensor-parallel-size: 4
--calculate-per-token-loss: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ MODEL_ARGS:
--use-tp-pp-dp-mapping: true
--expert-tensor-parallel-size: 4
--calculate-per-token-loss: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ MODEL_ARGS:
--log-memory-to-tensorboard: true
--use-tp-pp-dp-mapping: true
--expert-tensor-parallel-size: 4
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ MODEL_ARGS:
--log-memory-to-tensorboard: true
--use-tp-pp-dp-mapping: true
--expert-tensor-parallel-size: 4
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ MODEL_ARGS:
--bf16: true
--attention-backend: flash
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ MODEL_ARGS:
--data-cache-path: ${DATA_CACHE_PATH}
--bf16: true
--log-memory-to-tensorboard: true
--async-save: true
TEST_TYPE: regular
Loading
Loading