Single device multi gpu support#974
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
…ameworks/hyrax into single-device-multi-gpu-support
|
All PR checks finally pass!!! Hooray!!! Requesting a review on the current state of this. Following things are what stand out to me as causes for concern:
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #974 +/- ##
==========================================
- Coverage 65.79% 65.78% -0.02%
==========================================
Files 85 85
Lines 8178 8204 +26
==========================================
+ Hits 5381 5397 +16
- Misses 2797 2807 +10 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
More info regarding issue 1 from previous comment: even if the backend is update to use |
mtauraso
left a comment
There was a problem hiding this comment.
Overall this looks pretty good as a first pass.
Everything i'm commenting on could be addressed as follow up PRs
drewoldag
left a comment
There was a problem hiding this comment.
I like what I'm seeing. The comments that are already here deserve to be addressed. But this is definitely moving the right direction. I would like to know what happens when you run train with multiple gpus when there is a train/validate split in the dataset.
We thought Hyrax already support distributed training across multiple GPUs on one node (computer)... apparently not, surprise!
This PR aims to put that functionality back in by using
ignite.distributed'sDistributedDataParallelto use as many GPUs as are available on a single device.