Skip to content

Commit

Permalink
add replication
Browse files Browse the repository at this point in the history
  • Loading branch information
eitanturok committed Sep 12, 2024
1 parent 3b5f935 commit 76adc48
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/train/yamls/pretrain/mpt-125m.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ train_loader:
dataset:
local: ${variables.data_local}
remote: ${variables.data_remote}
split: train
split: train_small
shuffle: true
max_seq_len: ${variables.max_seq_len}
shuffle_seed: ${variables.global_seed}
Expand All @@ -47,10 +47,11 @@ eval_loader:
dataset:
local: ${variables.data_local}
remote: ${variables.data_remote}
split: val
split: val_small
shuffle: false
max_seq_len: ${variables.max_seq_len}
shuffle_seed: ${variables.global_seed}
replication: 2
drop_last: false
num_workers: 8

Expand Down Expand Up @@ -98,7 +99,7 @@ fsdp_config:

# TP
tp_config:
strategy: ffn
strategy: megatron
tensor_parallel_degree: 2

# Logging
Expand Down

0 comments on commit 76adc48

Please sign in to comment.