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

Autotuning - initial infra + a small optimization for pure depth tp #102

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

siddharth9820
Copy link
Collaborator

@siddharth9820 siddharth9820 commented Oct 24, 2024

Building the initial infra for autotuning. FC layers can accept a tensor_parallel_dims argument and create a tp decomposition separate from the global tp decomposition.

Noticed that the extra non expert communication takes a considerable amount of time even for pure depth-tp. Note that in this case we aren't actually doing any communication so it's basically the setup costs to launch identity kernels. I simply disabled it.

@siddharth9820 siddharth9820 changed the title Autotuning Autotuning - initial infra + a small optimization for pure depth tp Oct 24, 2024
@siddharth9820 siddharth9820 merged commit 660a224 into develop Oct 24, 2024
4 checks passed
@siddharth9820 siddharth9820 deleted the autotuning branch October 24, 2024 19:44
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