-
Notifications
You must be signed in to change notification settings - Fork 0
/
ds_config_yc.json
42 lines (42 loc) · 1.01 KB
/
ds_config_yc.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
{
"train_micro_batch_size_per_gpu": 128,
"gradient_accumulation_steps": 1,
"optimizer": {
"type": "Adam",
"params": {
"lr": 3e-4,
"weight_decay": 0
}
},
"zero_optimization": {
"stage": 1,
"allgather_partitions": true,
"allgather_bucket_size": 50000000,
"reduce_scatter": true,
"reduce_bucket_size": 50000000,
"overlap_comm": false,
"contiguous_gradients": true,
"elastic_checkpoint": true
},
"bf16": {
"enabled": false
},
"amp": {
"enabled": false,
"opt_level": "O1",
"min_loss_scale": 32.0
},
"flops_profiler": {
"enabled": false,
"profile_step": 10,
"module_depth": -1,
"top_modules": 1,
"detailed": true,
"output_file": null,
"end_profile_step": 5
},
"wall_clock_breakdown": false,
"gradient_clipping": 0.5,
"prescale_gradients": false,
"steps_per_print": 10000
}