update examples

Former-commit-id: 194e25606515bfa42c3be27d68f68d604191514b
This commit is contained in:
hiyouga
2024-03-06 13:14:57 +08:00
parent bfd0ed4afc
commit 004294623f
17 changed files with 202 additions and 11 deletions

View File

@@ -7,8 +7,8 @@
"fp16": {
"enabled": "auto",
"loss_scale": 0,
"initial_scale_power": 16,
"loss_scale_window": 1000,
"initial_scale_power": 16,
"hysteresis": 2,
"min_loss_scale": 1
},
@@ -17,15 +17,12 @@
},
"zero_optimization": {
"stage": 3,
"offload_optimizer": {
"device": "cpu"
},
"offload_param": {
"device": "cpu"
},
"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