Skip to content

Commit

Permalink
add deepspeed example with torch compile enabled (#2212) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
winglian authored Dec 22, 2024
1 parent 2312caa commit 3742deb
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions deepspeed_configs/zero1_torch_compile.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"zero_optimization": {
"stage": 1,
"overlap_comm": true
},
"bf16": {
"enabled": "auto"
},
"fp16": {
"enabled": "auto",
"auto_cast": false,
"loss_scale": 0,
"initial_scale_power": 32,
"loss_scale_window": 1000,
"hysteresis": 2,
"min_loss_scale": 1
},
"compile": {
"disable": false,
"backend": "inductor"
},
"gradient_accumulation_steps": "auto",
"gradient_clipping": "auto",
"train_batch_size": "auto",
"train_micro_batch_size_per_gpu": "auto",
"wall_clock_breakdown": false
}

0 comments on commit 3742deb

Please sign in to comment.