vision icon indicating copy to clipboard operation
vision copied to clipboard

Multi GPU support for vision model training in C++ with libtorch

Open Bycob opened this issue 6 years ago • 1 comments

🚀 Feature

Multi GPU support for vision model training in C++ with libtorch.

Motivation

More and more systems rely only on C++ for deep learning, including ours. But at the moment the C++ version of vision models are quite unpractical to use, and it is not possible to train them on multiple GPU when using large amount of data.

Pitch

Make C++ models support multi GPU. This can be done by deriving the pytorch ICloneable class, but this might not be sufficient for optimal GPU training, as pointed out in this issue. The best option might be to implement the clone method so that data_parallel (here) can handle the models.

Bycob avatar Nov 27 '20 09:11 Bycob

Thanks Louis!

linjiapro avatar Dec 02 '20 08:12 linjiapro