Skip to content

Commit

Permalink
2DParallel test
Browse files Browse the repository at this point in the history
  • Loading branch information
gnadathur committed Mar 2, 2024
1 parent 6ce0f17 commit 29d5f75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion run_llama_train.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ NGPU=${NGPU:-"8"}
LOG_RANK=${LOG_RANK:-0}


CONFIG_FILE=${CONFIG_FILE:-"./train_configs/debug_model.toml"}
CONFIG_FILE=${CONFIG_FILE:-"./train_configs/test/basic_integration_test.toml"}

torchrun --nproc_per_node=${NGPU} --rdzv_endpoint="localhost:5972" \
--local-ranks-filter ${LOG_RANK} --role rank --tee 3 \
Expand Down
4 changes: 2 additions & 2 deletions train_configs/test/basic_integration_test.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# TorchTrain Config.toml
[job]
dump_folder = "./outputs"
description = "1DParallel with debug model"
description = "2DParallel with debug model"

[profiling]
run_profiler = true
Expand Down Expand Up @@ -31,7 +31,7 @@ warmup_steps = 2 # lr scheduler warm up, normally 20% of the train steps
max_norm = 1.0 # grad norm clipping
steps = 10
data_parallel_degree = -1
sequence_parallel_degree = 1
sequence_parallel_degree = 2
pipeline_parallel_degree = 1
compile = false
checkpoint_interval = 3600
Expand Down

0 comments on commit 29d5f75

Please sign in to comment.