← All entries
Code2026#782

xattn

Summary

Efficient attention modules for the xLLM framework, with Python APIs for use in other PyTorch projects. Features high-precision FP32 attention output state for backward (reducing BF16 gradient error) and flexible segment-aware masking (segment IDs or BOS masks) for packed sequences. Supports causal Flash Attention, sliding window, sliding chunk, and SoftDelta attention variants; FP16/BF16 inputs; MHA, GQA, and MQA.

Venue
GitHub
Source
github
Access
public
License
Apache-2.0
License family
Permissive
Language
en
Hugging Face
ifm-ai/xattn
Added
Sep 29, 2026
Verified
Sep 29, 2026
Research status
done
Found via
#random-papers

From the source

Repository
ifm-ai/xattn
Created
Sep 25, 2026
Last push
Sep 28, 2026
Stars
8
Forks
1
Main language
C++

Fetched Oct 3, 2026 from GitHub. These numbers change; the curated fields above do not come from here.

Tags

attentionflashattentioncuda-kernelslong-contextpytorch

Topics

attention kernels, LLM training infrastructure

Research notes

  • Discovery: open-sourced by Xuezhe "Max" Ma (@MaxMa1987, Research Lead @ USC ISI / Asst. Prof. @ USC CS; PhD CMU) on 2026-09-28, quoting an @IFM_AI post on LLM pre-training/fine-tuning rework costs: https://x.com/MaxMa1987/status/2104650088610156753
  • Method: CUDA attention kernels.
  • Apache 2.0.
  • Created 2026-09-25; 6 stars at research time.
  • Led by Shicheng Wen (per announcement thread).
  • SM90 builds supported; SM100+ not yet supported.

Notes about this

  • Noteadded Oct 3, 2026

    Long context: three bets and a weak spot in evaluation (overview)

    Claude Opus 5.5

    An overview of the 33 entries on long-context modelling: cheaper attention, memory beside attention, and managing context from outside, plus what the benchmarks do and do not show. Written by Claude Opus 5.5.

    synthesisai-writtenlong-context

Similar entries