@@ -38,21 +38,21 @@ export IMAGE="DUMMY"
3838# export ORIGINAL_C4_PATH="/data/data/C4"
3939
4040# This corresponds to the PREPROCESSED_PATH in README section 3's dataset download part
41- export PREPROCESSED_PATH=" /data/llama3_8b /data/C4_processed"
42- export MERGED_C4_PATH=" /data/llama3_8b /data/C4_merged"
41+ export PREPROCESSED_PATH=" /data/llama31_8b /data/C4_processed/ "
42+ export MERGED_C4_PATH=" /data/llama31_8b /data/C4_merged"
4343# Dataset: Numpy index working directory, contains shuffled dataset
4444# This path must be able to hold >400GB data
4545export TMP_NPY_INDEX=" /data/npy_indices"
4646# Dataset: Tokenizer path
4747# This corresponds to the TOKENIZER_PATH in README section 3's tokenizer download part
48- export TOKENIZER_PATH=" /data/llama3_8b /model/Llama-3.1-8B"
48+ export TOKENIZER_PATH=" /data/llama31_8b /model/Llama-3.1-8B-ref/ "
4949# export TOKENIZER_PATH="/data/llama3_405b_ref/tokenizer"
5050
5151# Model: checkpoint and tokenizer path
5252# This is the checkpoint that we want to start with.
5353# Each checkpoint should be a folder containing two sub-folders: context and weights.
5454# And we need to pass this folder's path (the folder containing context and weights) here.
55- export MODEL_CKPT=" /data/llama3_8b /model/Llama-3.1-8B_nemo "
55+ export MODEL_CKPT=" /data/llama31_8b /model/Llama-3.1-8B-ref/ "
5656# export MODEL_CKPT="None"
5757# Model: Continual checkpoint directory to write and resume
5858# This is the directory to hold all intermediate checkpoints.
@@ -71,9 +71,6 @@ export FROM_HF=1
7171# Model: Whether we want to save a checkpoint. Must be 1 if NPAR > 1. If 1, then we save a checkpoint at the end.
7272export SAVE_CKPT=0
7373
74- # export SRC_PATH="/data/training/Llama-3.1-8B/original/"
75- # export DST_PATH="/data/training/Llama-3.1-8B/nemo/"
76- export CONT_IMAGE_URL=" rocm/mlperf:llama31_8b_training_5.1_gfx942 "
7774
7875
7976# Training Configs:
@@ -88,8 +85,11 @@ export MAX_LR="5e-4"
8885# If an empty string is provided (""), then the training will continue until time limit
8986# If we want to save a checkpoint, then this value must be set
9087# export MAX_STEPS=1200000 # Fixed max_steps=1200000 in pretrain_llama31.py
88+ export WARMUP_STEPS=512 # 16384 // GBS
9189export EVAL_EVERY=12288
9290export START_EVAL_AT=0
91+
92+ export TENSOR_PARALLEL_SIZE=1
9393# Experiment: starting steps
9494# This is the starting "offset" step from the checkpoint.
9595# For instance, if you are resuming from a checkpoint folder `checkpoint-par-0-20-steps/checkpoint`,
0 commit comments