forked from yanring/Megatron-MoE-ModelZoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommon.conf
More file actions
19 lines (15 loc) · 670 Bytes
/
common.conf
File metadata and controls
19 lines (15 loc) · 670 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Basic paths
export TRAINING_SCRIPT_PATH=${TRAINING_SCRIPT_PATH:-"${MEGATRON_PATH}/pretrain_gpt.py"}
export TRAINING_PARAMS_PATH=${TRAINING_PARAMS_PATH:-"${WORKSPACE}/model_configs/benchmarking/${MODEL}.yaml"}
# Comment used for tagging wandb experiments
export COMMENT=${COMMENT:-"v${MCORE_RELEASE_VERSION}"}
# Wandb settings
export WANDB_PROJECT=${WANDB_PROJECT:-"${USER}-moe-benchmarking-v${MCORE_RELEASE_VERSION}"}
# Profile settings
export PROFILE=${PROFILE:-0}
# Precision settings
export PR=${PR:-"bf16"}
if [[ ${PR} != "bf16" ]] && [[ ${PR} != "fp8" ]]; then
echo "Error: The valid values for PR are 'bf16' or 'fp8'. Current value: ${PR}."
exit 1
fi