mirror of
https://github.com/zenlm/zen-omni.git
synced 2026-11-21 11:27:37 +00:00
25 lines
551 B
JSON
25 lines
551 B
JSON
{
|
|
"bf16": {
|
|
"enabled": true
|
|
},
|
|
"zero_optimization": {
|
|
"stage": 2,
|
|
"offload_optimizer": {
|
|
"device": "cpu",
|
|
"pin_memory": true
|
|
},
|
|
"allgather_partitions": true,
|
|
"allgather_bucket_size": 5e8,
|
|
"overlap_comm": true,
|
|
"reduce_scatter": true,
|
|
"reduce_bucket_size": 5e8,
|
|
"contiguous_gradients": true
|
|
},
|
|
"gradient_accumulation_steps": 16,
|
|
"gradient_clipping": 1.0,
|
|
"steps_per_print": 10,
|
|
"train_batch_size": "auto",
|
|
"train_micro_batch_size_per_gpu": "auto",
|
|
"wall_clock_breakdown": false
|
|
}
|