Skip to content

Commit

Permalink
disable elastic checkpointing in ds config templates (bigscience-work…
Browse files Browse the repository at this point in the history
  • Loading branch information
tohtana authored Sep 25, 2023
1 parent b4fcd6c commit 4822c87
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 28 deletions.
3 changes: 1 addition & 2 deletions examples_deepspeed/MoE/ds_config_gpt_TEMPLATE.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"steps_per_print": LOG_INTERVAL,

"zero_optimization": {
"stage": ZERO_STAGE,
"elastic_checkpoint": true
"stage": ZERO_STAGE
},

"gradient_clipping": 1.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"steps_per_print": LOG_INTERVAL,

"zero_optimization": {
"stage": ZERO_STAGE,
"elastic_checkpoint": true
"stage": ZERO_STAGE
},

"gradient_clipping": 1.0,
Expand Down
3 changes: 1 addition & 2 deletions examples_deepspeed/compression/ds_config_gpt_TEMPLATE.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"steps_per_print": LOG_INTERVAL,

"zero_optimization": {
"stage": ZERO_STAGE,
"elastic_checkpoint": true
"stage": ZERO_STAGE
},

"gradient_clipping": 1.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"steps_per_print": LOG_INTERVAL,

"zero_optimization": {
"stage": ZERO_STAGE,
"elastic_checkpoint": true
"stage": ZERO_STAGE
},

"gradient_clipping": 1.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"steps_per_print": LOG_INTERVAL,

"zero_optimization": {
"stage": ZERO_STAGE,
"elastic_checkpoint": true
"stage": ZERO_STAGE
},

"gradient_clipping": 1.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"steps_per_print": LOG_INTERVAL,

"zero_optimization": {
"stage": ZERO_STAGE,
"elastic_checkpoint": true
"stage": ZERO_STAGE
},

"gradient_clipping": 1.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"steps_per_print": LOG_INTERVAL,

"zero_optimization": {
"stage": ZERO_STAGE,
"elastic_checkpoint": true
"stage": ZERO_STAGE
},

"gradient_clipping": 1.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"steps_per_print": LOG_INTERVAL,

"zero_optimization": {
"stage": ZERO_STAGE,
"elastic_checkpoint": true
"stage": ZERO_STAGE
},

"gradient_clipping": 1.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"steps_per_print": 10,

"zero_optimization": {
"stage": 0,
"elastic_checkpoint": true
"stage": 0
},

"gradient_clipping": 1.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"steps_per_print": LOG_INTERVAL,

"zero_optimization": {
"stage": ZERO_STAGE,
"elastic_checkpoint": true
"stage": ZERO_STAGE
},

"gradient_clipping": 1.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"steps_per_print": LOG_INTERVAL,

"zero_optimization": {
"stage": ZERO_STAGE,
"elastic_checkpoint": true
"stage": ZERO_STAGE
},

"gradient_clipping": 1.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"steps_per_print": LOG_INTERVAL,

"zero_optimization": {
"stage": ZERO_STAGE,
"elastic_checkpoint": true
"stage": ZERO_STAGE
},

"gradient_clipping": 1.0,
Expand Down
3 changes: 1 addition & 2 deletions examples_deepspeed/rebase/ds_config_gpt_TEMPLATE.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"steps_per_print": LOG_INTERVAL,

"zero_optimization": {
"stage": ZERO_STAGE,
"elastic_checkpoint": true
"stage": ZERO_STAGE
},

"gradient_clipping": 1.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"steps_per_print": LOG_INTERVAL,

"zero_optimization": {
"stage": ZERO_STAGE,
"elastic_checkpoint": true
"stage": ZERO_STAGE
},

"gradient_clipping": 1.0,
Expand Down

0 comments on commit 4822c87

Please sign in to comment.