-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathds_zero2.json
34 lines (34 loc) · 910 Bytes
/
ds_zero2.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
{
"zero_optimization": {
"stage": 2,
"offload_optimizer": {
"device": "auto",
"pin_memory": true
},
"allgather_partitions": true,
"allgather_bucket_size": "auto",
"overlap_comm": true,
"reduce_scatter": true,
"reduce_bucket_size": "auto",
"contiguous_gradients": true,
"round_robin_gradients": true
},
"fp16": {
"enabled": false,
"auto_cast": true,
"loss_scale": "auto",
"loss_scale_window": "auto",
"hysteresis": "auto",
"min_loss_scale": "auto"
},
"bf16":{
"enabled":true
},
"gradient_accumulation_steps": "auto",
"gradient_clipping": 1.0,
"train_batch_size": "auto",
"train_micro_batch_size_per_gpu": "auto",
"steps_per_print": "auto",
"wall_clock_breakdown": false,
"eigenvalue_enabled": true
}