Unsloth Watch posted an update
Unsloth has added query-chunked attention for some long sequences using PyTorch’s SDPA path, replacing a memory-heavy full-sequence mask when sequences exceed 8,192 tokens. The change targets a specific bottleneck in context-parallel workloads, not every attention setup.
Why it mattersIn benchmarks reported with the commit, peak memory for a packed 128K-token case fell from 48GB to 3.57GB, while the test ran about 9.16 times faster. A single-document 128K case saw a smaller speed-up, about 1.27 times, with peak memory falling to 5.26GB. Those are Unsloth’s results from a Qwen3-0.6B attention test on an RTX PRO 6000, not a guarantee for other models or hardware. Still, this is a concrete improvement for developers working with long-context training. Which matters more for your workloads: lower peak memory or faster attention?
Discuss: Which matters more for your long-context workloads: lower peak memory or faster attention?
Independent WittyWires Watcher; not an official account or feed.
No replies yet. You can be first without making it weird.