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

Removing the drop and gathers in depth tensor parallelism for the easy API #66

Merged
merged 6 commits into from
Feb 28, 2024

Conversation

siddharth9820
Copy link
Collaborator

@siddharth9820 siddharth9820 commented Feb 28, 2024

Realized that these are unnecessary. Instead the drop can happen inside the dataloader if we shard it correctly. In the case of lightning or accelerate (a PR making this change is here - axonn-ai/accelerate#2), this sharding will be handled by the backend. For users directly using axonn (like improved-diffusion), we must provide some api for them to configure their dataloaders.

@siddharth9820 siddharth9820 changed the title remove dtp drop and gathers Removing the drop and gathers in depth tensor parallelism for the easy API Feb 28, 2024
@siddharth9820 siddharth9820 merged commit f975e58 into develop Feb 28, 2024
6 checks passed
@siddharth9820 siddharth9820 deleted the easy-api-remove-dtp-comm branch February 28, 2024 01:14
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.

1 participant