-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Iluvatar] relocate config_hetero.yaml
- Loading branch information
yu.song
committed
Jun 7, 2024
1 parent
3579803
commit 227c14b
Showing
2 changed files
with
25 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
defaults: | ||
- train: train_llama2_7b_tp_hetero | ||
- _self_ | ||
|
||
experiment: | ||
exp_name: llama2_tp_hetero | ||
exp_dir: ./outputs_llama2_tp_hetero | ||
task: | ||
type: train | ||
backend: megatron | ||
entrypoint: ./flagscale/train/hetero/train_llama.py | ||
runner: | ||
backend: torchrun | ||
nnodes: 1 | ||
nproc_per_node: 8 | ||
hostfile: hostfile | ||
envs: | ||
CUDA_VISIBLE_DEVICES: 0,1,2,3,4,5,6,7 | ||
CUDA_DEVICE_MAX_CONNECTIONS: 1 | ||
|
||
action: run | ||
|
||
hydra: | ||
run: | ||
dir: ${experiment.exp_dir}/hydra |