Skip to content

Hardware-specialised attention: FlashAttention-4, FlashInfer, cascade attention #53

Open

Description

@zeekay

Benchmark paged attention, LSA and the dense components of hybrid models against FlashInfer (paged, ragged, cascade, prefill/decode) and FlashAttention-4 (Blackwell pipelining, MLSys 2026); explore shared-prefix cascade attention and fused prefill/decode for batch serving. Results are per architecture: Hopper, Blackwell, GB10 and consumer RTX separately; B200 numbers are not GB10 assumptions.

Proof: measurable end-to-end serving speedup, not kernel TFLOPS.

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. zeekay commented on Nov 16, 2026

    @zeekay
    MemberAuthor

    Security Hardening Cross-Reference (2026-11-16)

    Following disclosure GHSA-fj8v-85jv-jwpv (vLLM 0.30/0.31 cascade attention + CPU KV offload causing cross-request prefix contamination; fixed in vLLM 0.32 by removing cascade attention), Hanzo Engine enforces:

    1. Per-tenant CacheSalt keying across paged GPU prefix blocks, sequence prefix cache, disk KV offload, and hanzo-kv-fabric (HIP-1345 §1).
    2. Strict kv_computed_tokens block caching bounds (never caching uncomputed sampled tokens or errored/aborted prompts).
    3. runtime_digest (X-Hanzo-Runtime-Digest) and cache_connector (X-Hanzo-Cache-Connector) provenance on inference traces, paired with draining any external vLLM pools earlier than 0.32.0.
  2. added
    hip-1346
    on Nov 17, 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

    bountycudahelp wantedhip-1346p1perfresearch

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions