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

add option to change batch dimension in drop #52

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

siddharth9820
Copy link
Collaborator

For drop and gather wrt the depth dimension, Batch dim will not always be 0. For instance in Megatron the tensors are [s,b,h] and we want to drop/gather along the first dimension.

@siddharth9820 siddharth9820 merged commit 61409b1 into develop Nov 7, 2023
6 checks passed
@siddharth9820 siddharth9820 deleted the batch-dim-in-drop-gather branch November 7, 2023 23:16
Avuxon pushed a commit that referenced this pull request Jan 25, 2024
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