-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathds_config-gpt.json
47 lines (47 loc) · 1009 Bytes
/
ds_config-gpt.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"train_batch_size" : 1,
"train_micro_batch_size_per_gpu": 1,
"gradient_accumulation_steps": 1,
"steps_per_print": 1,
"wall_clock_breakdown" : true,
"zero_optimization": {
"stage": 2,
"allgather_partitions": true,
"reduce_scatter": true,
"allgather_bucket_size": 5e8,
"overlap_comm": true,
"contiguous_gradients": true,
"offload_param": {
"device": "cpu",
"nvme_path": "/raid/scratch",
"pin_memory": false
},
"offload_optimizer": {
"device": "cpu",
"nvme_path": "/raid/scratch/"
}
},
"fp16": {
"enabled": true,
"initial_scale_power": 12
},
"flops_profiler": {
"enabled": true,
"profile_step": 1,
"module_depth": -1,
"top_modules": 3,
"detailed": true,
"output_file": null
},
"comms_logger": {
"enabled": true,
"verbose": false,
"prof_all": false,
"debug": false
},
"wandb": {
"enabled": false,
"group": "megatron-DS0",
"project": "megatron-DS"
}
}