Text Generation
English
code
gooncoder / configs /deepspeed_z3.json
dyesongay's picture
Upload 6 files
e66852d verified
Raw History Blame Contribute Delete
803 Bytes
{
"_comment": "DeepSpeed ZeRO Stage 3 config for Shulker XLarge training",
"zero_optimization": {
"stage": 3,
"offload_optimizer": {
"device": "cpu",
"pin_memory": true
},
"offload_param": {
"device": "cpu",
"pin_memory": true
},
"overlap_comm": true,
"contiguous_gradients": true,
"sub_group_size": 1e9,
"reduce_bucket_size": "auto",
"stage3_prefetch_bucket_size": "auto",
"stage3_param_persistence_threshold": "auto",
"stage3_max_live_parameters": 1e9,
"stage3_max_reuse_distance": 1e9,
"stage3_gather_16bit_weights_on_model_save": true
},
"bf16": {
"enabled": true
},
"gradient_clipping": 1.0,
"prescale_gradients": false,
"wall_clock_breakdown": false,
"tensorboard": {
"enabled": false
}
}