Skip to content

Attention inconsistency between TE and HF #432

Closed

Description

@yongyanrao

Dear team, we noticed an inconsistency between TE's and HF's implementations of attention.

Let us consider llama model.

This inconsistency would cause discrepancy. Could you please take a look at it? Thank you in advance.

Activity

  1. self-assigned this
    on Sep 11, 2023
  2. cyanguwa commented on Sep 11, 2023

    @cyanguwa
    Collaborator

    Hi @yongyanrao, we are in the process of fixing the layernorm implementation in TE where GQA is employed - please see #394. Thanks for submitting this issue and we'll keep you updated in that PR!

    Thanks!
    Charlene

  3. yongyanrao commented on Sep 11, 2023

    @yongyanrao
    Author

    Hi @cyanguwa, Thank you so much for the response. Looking forward to the PR merge.

  4. cyanguwa commented on Sep 25, 2023

    @cyanguwa
    Collaborator

    @yongyanrao #434 is merged. Please let me know if there's still any issues. Thanks!

  5. cyanguwa commented on Oct 9, 2023

    @cyanguwa
    Collaborator

    Closing the ticket for now. Please reopen it or file another one if the issue persists. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions