41 lines
939 B
JSON
Executable File
41 lines
939 B
JSON
Executable File
{
|
|
"train_micro_batch_size_per_gpu": 4,
|
|
"gradient_accumulation_steps": 1,
|
|
"gradient_clipping": 0.1,
|
|
"zero_optimization": {
|
|
"stage": 2,
|
|
"contiguous_gradients": false,
|
|
"overlap_comm": true,
|
|
"reduce_scatter": true,
|
|
"reduce_bucket_size": 4e7,
|
|
"allgather_bucket_size": 1e8,
|
|
"load_from_fp32_weights": false
|
|
},
|
|
"offload_optimizer": {
|
|
"device": "cpu",
|
|
"pin_memory": true
|
|
},
|
|
"zero_allow_untested_optimizer": true,
|
|
"bf16": {
|
|
"enabled": true
|
|
},
|
|
"optimizer": {
|
|
"type": "Adam",
|
|
"params": {
|
|
"lr": 0.00001,
|
|
"betas": [
|
|
0.9,
|
|
0.95
|
|
],
|
|
"eps": 1e-8,
|
|
"weight_decay": 5e-2
|
|
}
|
|
},
|
|
"activation_checkpointing": {
|
|
"partition_activations": false,
|
|
"contiguous_memory_optimization": false,
|
|
"cpu_checkpointing": false
|
|
},
|
|
"wall_clock_breakdown": false
|
|
}
|
|
|