Skip to content

Native sparse attention and multi-head latent attention #59

Open

Description

@zeekay

Compare token-sparse, block-sparse and latent-attention kernels (FlashMLA, FlashInfer sparse/MLA) with LSA for models that use compatible attention representations; the latest kernels have changed architecture and KV-format requirements, so compatibility is explicit. For future model designs, decide whether latent KV or learned sparse attention is worth training for.

Benchmark: 32K-256K context, prefill complexity, decode bandwidth, indexing overhead, long-context reasoning quality.

Scorecard for every run: cold and warm TTFT, p50/p95 inter-token latency, full agent-loop wall time, peak memory, energy per token, output correctness, quality regression. Record GPU/NPU/CPU architecture, driver, quantization format and commit. Use the shared 4B/9B/27B matrix and the 20-turn coding-agent benchmark; reject changes that win a microbenchmark but regress end-to-end inference. Published speedups are not assumed to transfer to our models without measurement. Licensing: reuse Apache-2.0/MIT sources with attribution; study-only references (non-commercial, unlicensed, papers) get an independent implementation. Open for community research: comment to claim, publish method and raw numbers (bounty; reward terms are set by the maintainers on the issue).

Activity

  1. added
    help wanted
    hip-1346
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bountyhelp wantedhip-1346p2perfresearch

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions