Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi gpu training #283

Merged
merged 5 commits into from
Jun 7, 2024
Merged

Multi gpu training #283

merged 5 commits into from
Jun 7, 2024

Conversation

constantinpape
Copy link
Owner

Multi-gpu training using DistributedDataParallel based on https://pytorch.org/tutorials/intermediate/ddp_tutorial.html.

This seems to be working (network is trained on example script), but I haven't tested if this implementation is doing exactly what it's supposed to.

@anwai98
Copy link
Contributor

anwai98 commented Jun 3, 2024

Hi @constantinpape,

Found the tutorial for the DistributedSampler implementation for the dataloaders: https://pytorch.org/tutorials/intermediate/FSDP_tutorial.html

@constantinpape constantinpape merged commit be6bdcd into main Jun 7, 2024
4 checks passed
@constantinpape constantinpape deleted the multi-gpu-training branch June 7, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants