Skip to content

Commit

Permalink
deepspeed config update
Browse files Browse the repository at this point in the history
  • Loading branch information
ardagoreci committed Aug 19, 2024
1 parent 1ad6e56 commit a8e108f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configs/trainer/deepspeed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defaults:
- default

accelerator: gpu
devices: 1
devices: auto

precision: 'bf16-mixed' # 'bf16-true' # 'transformer-engine', 'transformer-engine-float16', '16-true', '16-mixed', 'bf16-true',
# 'bf16-mixed', '32-true',
Expand All @@ -22,4 +22,4 @@ strategy:
cpu_checkpointing: False

# Gradient accumulation
accumulate_grad_batches: 1
accumulate_grad_batches: 2

0 comments on commit a8e108f

Please sign in to comment.