Skip to content
Discussion options

You must be logged in to vote

You can either sync them by writing them both to disk (we have a PredictionWriter for that) or you can use self.all_gather inside your predict_step to sync across GPUs (note that this can lead to GPU OOM!)

Replies: 1 comment 2 replies

Comment options

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

@justusschock
Comment options

Answer selected by Borda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment