-
Notifications
You must be signed in to change notification settings - Fork 301
/
ds_zero2_no_offload.json
45 lines (45 loc) · 976 Bytes
/
ds_zero2_no_offload.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
{
"train_batch_size": 32,
"train_micro_batch_size_per_gpu": 4,
"steps_per_print": 1,
"zero_optimization": {
"stage": 2,
"offload_param": {
"device": "auto"
},
"offload_optimizer": {
"device": "auto"
}
},
"bf16": {
"enabled": false
},
"fp16": {
"enabled": true,
"loss_scale": 0,
"loss_scale_window": 100
},
"gradient_clipping": 1.0,
"prescale_gradients": false,
"wall_clock_breakdown": false,
"scheduler": {
"type": "WarmupDecayLR",
"params": {
"last_batch_iteration": -1,
"total_num_steps": "auto",
"warmup_min_lr": "auto",
"warmup_max_lr": "auto",
"warmup_num_steps": "auto",
"warmup_type": "cosine"
}
},
"optimizer": {
"type": "AdamW",
"params": {
"lr": "auto",
"betas": "auto",
"eps": "auto",
"weight_decay": "auto"
}
}
}