Skip to content

Commit

Permalink
run trainer with gpu by default
Browse files Browse the repository at this point in the history
  • Loading branch information
MaloOLIVIER committed Dec 19, 2024
1 parent 9570f56 commit 2ed24ab
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions configs/trainer/ddp.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
_target_: lightning.Trainer

# Hardware
accelerator: cpu
# accelerator: gpu
# num_nodes: 1
# devices: '0,'
# strategy: 'ddp_find_unused_parameters_true'
accelerator: gpu
num_nodes: 1
devices: '0,'
strategy: 'ddp_find_unused_parameters_true'

# Epochs and batch sizes
max_epochs: ${nb_epochs}
Expand Down

0 comments on commit 2ed24ab

Please sign in to comment.