Skip to content

Commit 3c04653

Browse files
authored
add zero2 json
add zero2 json
2 parents 9a70bfd + 8b6981b commit 3c04653

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"zero_optimization": {
3+
"stage": 2,
4+
"allgather_partitions": true,
5+
"allgather_bucket_size": 1e8,
6+
"overlap_comm": true,
7+
"reduce_scatter": true,
8+
"reduce_bucket_size": 1e8,
9+
"contiguous_gradients": true
10+
},
11+
"fp16": {
12+
"enabled": "auto",
13+
"auto_cast": true,
14+
"loss_scale": 0,
15+
"initial_scale_power": 32,
16+
"loss_scale_window": 1000,
17+
"hysteresis": 2,
18+
"min_loss_scale": 1
19+
},
20+
"bf16": {
21+
"enabled": "auto"
22+
},
23+
"gradient_accumulation_steps": "auto",
24+
"gradient_clipping": "auto",
25+
"steps_per_print": 2000,
26+
"train_batch_size": "auto",
27+
"train_micro_batch_size_per_gpu": "auto",
28+
"wall_clock_breakdown": false
29+
}

0 commit comments

Comments
 (0)