mpi-operator icon indicating copy to clipboard operation
mpi-operator copied to clipboard

Request: Add a PyTorch example

Open Minyus opened this issue 4 years ago • 4 comments

An example to train a PyTorch model using a simple dataset such as MNIST will be helpful.

Minyus avatar Jun 17 '20 07:06 Minyus

Issue-Label Bot is automatically applying the labels:

Label Probability
kind/feature 0.98

Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Jun 17 '20 07:06 issue-label-bot[bot]

You can use PyTorch with Horovod. Otherwise, we don’t have any examples yet with just PyTorch and contribution’s welcomed!

terrytangyuan avatar Jun 17 '20 09:06 terrytangyuan

Yes, I found an MNIST example to use Horovod and PyTorch at:

https://github.com/horovod/horovod/blob/master/examples/pytorch_mnist.py

Thank you.

Minyus avatar Jun 18 '20 13:06 Minyus

Hi @Minyus were you able to run pytorch or pytorch lightning using mpi operator with horovod. Could you please share the yaml that you applied?

asahalyft avatar Jun 16 '21 20:06 asahalyft