Skip to content

How do I set the steps_per_epoch parameter of a lr scheduler in multi-GPU environment? #2149

Discussion options

You must be logged in to vote

After some more investigation, it seems like dividing the dataloader size by the number of GPUs is the correct way. The documentation could be more clear on this, but I'm closing this now.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rsomani95
Comment options

@tayden
Comment options

Answer selected by Borda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2149 on December 23, 2020 19:45.