-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Distributed ml on k8s - first tutorial (#280)
* First pod poc * Update with torchrun * Update README * First working version of CPU-only distrib ML * Cleanup Dockerfile * fix linter * Small fixes * Add Kubeflow tutorial to list * Polished tutorial * Fix note * cleanup spaces * improve text * improve text * Update distributed.py * Update README.md * Update README.md * Update README.md * Update train-cpu.py * Update distributed.py * fix linter * clarify salloc
- Loading branch information
Showing
14 changed files
with
2,677 additions
and
1,211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Tutorial on Kubeflow and TorchTrainer class | ||
========================================= | ||
|
||
.. include:: ../../../tutorials/distributed-ml/torch-kubeflow-1/README.md | ||
:parser: myst_parser.sphinx_ | ||
|
||
|
||
train-cpu.py | ||
++++++++ | ||
|
||
.. literalinclude:: ../../../tutorials/distributed-ml/torch-kubeflow-1/train-cpu.py | ||
:language: python | ||
|
||
|
||
cpu.yaml | ||
++++++++ | ||
|
||
.. literalinclude:: ../../../tutorials/distributed-ml/torch-kubeflow-1/cpu.yaml | ||
:language: yaml | ||
|
||
Dockerfile | ||
++++++++ | ||
|
||
.. literalinclude:: ../../../tutorials/distributed-ml/torch-kubeflow-1/Dockerfile | ||
:language: dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.