Spaces:
Paused
Paused
Commit ·
99dff1f
1
Parent(s): 42544a9
update
Browse files
examples/tutorials/dpo/ultrachat/ds_config/deepspeed_stage_2_config.json
CHANGED
|
@@ -23,7 +23,13 @@
|
|
| 23 |
"min_loss_scale": 1
|
| 24 |
},
|
| 25 |
"zero_optimization": {
|
| 26 |
-
"stage": 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
},
|
| 28 |
"scheduler": {
|
| 29 |
"type": "WarmupLR",
|
|
|
|
| 23 |
"min_loss_scale": 1
|
| 24 |
},
|
| 25 |
"zero_optimization": {
|
| 26 |
+
"stage": 2,
|
| 27 |
+
"contiguous_gradients": true,
|
| 28 |
+
"overlap_comm": true,
|
| 29 |
+
"reduce_scatter": true,
|
| 30 |
+
"reduce_bucket_size": 5e7,
|
| 31 |
+
"allgather_bucket_size": 5e7,
|
| 32 |
+
"stage2_prefetch_size": 5e7
|
| 33 |
},
|
| 34 |
"scheduler": {
|
| 35 |
"type": "WarmupLR",
|