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 missed arguments of apply_rotary_pos_emb in MHA #1296

Merged
merged 5 commits into from
Oct 30, 2024

Conversation

xrennvidia
Copy link
Collaborator

@xrennvidia xrennvidia commented Oct 29, 2024

Description

Add missed arguments of apply_rotary_pos_emb in MHA

Type of change

  • Documentation change (change only to the documentation, either a fix or a new content)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Infra/Build change
  • Code refractor

Checklist:

  • I have read and followed the contributing guidelines
  • The functionality is complete
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

xrennvidia and others added 4 commits October 28, 2024 23:33
Signed-off-by: Xiaowei Ren <xren@nvidia.com>
Signed-off-by: Xiaowei Ren <xren@nvidia.com>
Signed-off-by: Xiaowei Ren <xren@nvidia.com>
@xrennvidia
Copy link
Collaborator Author

/te-ci pytorch

Copy link
Collaborator

@yaox12 yaox12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@xrennvidia
Copy link
Collaborator Author

/te-ci pytorch

@xrennvidia xrennvidia closed this Oct 29, 2024
@xrennvidia xrennvidia reopened this Oct 29, 2024
Copy link
Collaborator

@cyanguwa cyanguwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@xrennvidia xrennvidia merged commit ed1e85c into NVIDIA:main Oct 30, 2024
14 checks passed
@xrennvidia xrennvidia deleted the xren/cp_mha_rope branch October 30, 2024 00:24
timmoon10 pushed a commit that referenced this pull request Oct 31, 2024
* add missed arguments of apply_rotary_pos_emb in MHA

Signed-off-by: Xiaowei Ren <xren@nvidia.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove an unnecessary f

Signed-off-by: Xiaowei Ren <xren@nvidia.com>

* add one more assert for cp_group len

Signed-off-by: Xiaowei Ren <xren@nvidia.com>

---------

Signed-off-by: Xiaowei Ren <xren@nvidia.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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.

3 participants