-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathds_config.json
50 lines (50 loc) · 1.19 KB
/
ds_config.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
48
49
50
{
"train_micro_batch_size_per_gpu": 256,
"gradient_accumulation_steps": 1,
"optimizer": {
"type": "Adam",
"params": {
"lr": 3e-4,
"weight_decay": 0
}
},
"scheduler": {
"type": "WarmupLR",
"params": {
"warmup_min_lr": 0,
"warmup_max_lr": 3e-4,
"warmup_num_steps": 1000
}
},
"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
}