Skip to content

I am confused about the argument names in forward triton kernel. #11

@wenhaoli-xmu

Description

@wenhaoli-xmu
    stride_kz, stride_kh, stride_kn, stride_kk,
    stride_vz, stride_vh, stride_vk, stride_vn,

Here, the key has the seq dimension first and the dim dimension second, while the value is the opposite.

However, when transferring parameters, including in the test code, both the key and value have the seq dimension first.

I am very confused by this inconsistency. Could you explain the reason for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions