I found this library: https://github.com/williamFalcon/pytorch-lightning As I understand it, they make it easy to parallelize torch models.