-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[Docs] Simple example of using MLX distributed #2973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
@awni where would be the ideal place for |
|
I think we should make a new subsection under "Neural Networks", call it say "Distributed" and add all the helper routines and maybe also distributed layers there. |
| ## Doc Development Setup | ||
|
|
||
| To enable live refresh of docs while writing: | ||
|
|
||
| Install sphinx autobuild | ||
| ``` | ||
| pip install sphinx-autobuild | ||
| ``` | ||
|
|
||
| Run auto build on docs/src folder | ||
| ``` | ||
| sphinx-autobuild ./src ./build/html | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's pretty cool.
|
For a data parallel training example, should I pull the existing example from |
|
We might not need an additional example given we already have something in the usage section. Wdyt? |
|
I think the existing example is good. Maybe we could put the existing example in a dedicated doc under examples section and then reference both DP and TP examples in the |
|
I have extracted the data parallel training example into |
related issue: #2930
proposed changes: