Update ds_config_zero3.json (#30829)

This commit is contained in:
Sourab Mangrulkar 2024-05-15 19:32:31 +05:30 committed by GitHub
parent 92544cb8f3
commit bdfefbadaf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,11 +7,9 @@
"hysteresis": 2,
"min_loss_scale": 1
},
"bf16": {
"enabled": "auto"
},
"optimizer": {
"type": "AdamW",
"params": {
@ -21,7 +19,6 @@
"weight_decay": "auto"
}
},
"scheduler": {
"type": "WarmupLR",
"params": {
@ -30,15 +27,14 @@
"warmup_num_steps": "auto"
}
},
"zero_optimization": {
"stage": 3,
"offload_optimizer": {
"device": "cpu",
"device": "none",
"pin_memory": true
},
"offload_param": {
"device": "cpu",
"device": "none",
"pin_memory": true
},
"overlap_comm": true,
@ -51,7 +47,6 @@
"stage3_max_reuse_distance": 1e9,
"stage3_gather_16bit_weights_on_model_save": true
},
"gradient_accumulation_steps": "auto",
"gradient_clipping": "auto",
"steps_per_print": 2000,