Skip to content

[FEA] Jagged Arbitrary Masked Self Attention support #276

Closed

Description

@JacoCheung

mcore/te does not support jagged attention with Arbitrary Masked (It only supports causal). But in our scenario, this is a desirable feature. In our sid_gr example, we now use padded dense with arbitrary mask which is memory and compute intensive.

Describe the solution you'd like

We can either wait for FA3 with arbitrary mask or write our only implementation. And then adapt it into sid example.

Activity

  1. added this to the 26.3 milestone on Jan 21, 2026
  2. added
    feature
    enhancement
    on Jan 21, 2026
  3. JacoCheung commented on Jan 27, 2026

    @JacoCheung
    CollaboratorAuthor

    It's now ready in fa)

  4. JacoCheung commented on Feb 4, 2026

    @JacoCheung
    CollaboratorAuthor

    We need to implement a JaggedTransformerBlock, incorporating the Jagged arbitrary FA. @z52527
    We need to start with the target grouped attention first. The mask should be like:

    Image
  5. removed this from the 26.3 milestone on Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementfeature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions