Skip to content
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

[nnx] add FSDP toy example with custom optimizer #4183

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

cgarciae
Copy link
Collaborator

@cgarciae cgarciae commented Sep 9, 2024

What does this PR do?

Adds toy example showing how to do a very simple FSDP and shows how to create a custom SGD optimizer with momentum (no optax).

@cgarciae cgarciae force-pushed the nnx-fsdp-toy-example branch 3 times, most recently from 142402c to 6eb75b1 Compare October 2, 2024 11:32
@cgarciae cgarciae force-pushed the nnx-fsdp-toy-example branch 2 times, most recently from 10b557b to b5acbbf Compare October 9, 2024 09:48
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@cgarciae cgarciae force-pushed the nnx-fsdp-toy-example branch from b5acbbf to f7d3873 Compare October 9, 2024 10:22
@copybara-service copybara-service bot merged commit 2ad9731 into main Oct 9, 2024
17 checks passed
@copybara-service copybara-service bot deleted the nnx-fsdp-toy-example branch October 9, 2024 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants