Skip to content

Add example program of MNIST using pytorch DDP#43

Merged
wkliao merged 20 commits intoParallel-NetCDF:mainfrom
kwang3939:ml_examples
Aug 12, 2024
Merged

Add example program of MNIST using pytorch DDP#43
wkliao merged 20 commits intoParallel-NetCDF:mainfrom
kwang3939:ml_examples

Conversation

@kwang3939
Copy link
Copy Markdown
Collaborator

@kwang3939 kwang3939 commented Aug 10, 2024

MNIST Pytorch program is obtained from Pytorch/MNIST
A code patch mnist.patch must be applied first.

Command make check automatically downloads, applies the patch,
and run the training with small settings, i.e.

  • train batch size = 4,
  • test batch size = 2,
  • number of epochs = 3,
  • number of training samples = 60, and
  • number of testing samples = 12

@wkliao wkliao merged commit 995a2b1 into Parallel-NetCDF:main Aug 12, 2024
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.

3 participants