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

Models feature/keep batch sharded #121

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

japols
Copy link
Member

@japols japols commented Feb 6, 2025

[Draft] This PR improves scalability at large input grid sizes by keeping the input batch and output of the model sharded, never materializing the full in/out grid in gpu memory. The loss/validation metrics are computed locally to then get the global loss via all-reduce across shards.

Preview at 9km:

Screenshot 2025-02-04 at 20 10 58

@japols japols added the enhancement New feature or request label Feb 6, 2025
@japols japols self-assigned this Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request models training
Projects
Status: Now In Progress
Development

Successfully merging this pull request may close these issues.

1 participant