Upload scripts/ds_zero2.json with huggingface_hub
Browse files- scripts/ds_zero2.json +18 -0
scripts/ds_zero2.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bf16": {
|
| 3 |
+
"enabled": true
|
| 4 |
+
},
|
| 5 |
+
"zero_optimization": {
|
| 6 |
+
"stage": 2,
|
| 7 |
+
"allgather_partitions": true,
|
| 8 |
+
"allgather_bucket_size": 500000000.0,
|
| 9 |
+
"overlap_comm": true,
|
| 10 |
+
"reduce_scatter": true,
|
| 11 |
+
"reduce_bucket_size": 500000000.0,
|
| 12 |
+
"contiguous_gradients": true
|
| 13 |
+
},
|
| 14 |
+
"gradient_accumulation_steps": "auto",
|
| 15 |
+
"gradient_clipping": "auto",
|
| 16 |
+
"train_batch_size": "auto",
|
| 17 |
+
"train_micro_batch_size_per_gpu": "auto"
|
| 18 |
+
}
|