# Use flash-linear-attention on sm\_70 GPU

**URL:** <https://discuss.pytorch.org/t/use-flash-linear-attention-on-sm-70-gpu/226039>\
**Category:** nlp\
**Created:** [November 24, 2026, 1:41pm UTC](https://discuss.pytorch.org/t/use-flash-linear-attention-on-sm-70-gpu/226039 "2026-11-24T13:41:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hunter](https://discuss.pytorch.org/letter_avatar_proxy/v4/letter/h/ba9def/32.png) [@hunter](https://discuss.pytorch.org/u/hunter)\
**Post date:** [November 24, 2026, 1:41pm UTC](https://discuss.pytorch.org/t/use-flash-linear-attention-on-sm-70-gpu/226039/1 "2026-11-24T13:41:10Z")

</div>

Environment:  
OS : Linux  
Python : 3.13.6  
PyTorch : 2.6.0+cu124  
torchvision : 0.21.0+cu124  
transformers : 5.19.0  
CUDA : 12.4 (cuDNN 9.1)  
GPU : 8× Tesla V100-PCIE-32GB (compute capability 7.0)

I am using Qwen3.5-9B for generating responses. And as it is using linear-attention so it falls back to the slow PyTorch path because of this [issue](https://discuss.pytorch.org/t/silent-kernel-death/225653) . Is there a way to use flash-linear-attention in this setup?

---

<div class="post-metadata">

**Author:** ![virse.marketing](https://discuss.pytorch.org/letter_avatar_proxy/v4/letter/v/c67d28/32.png) [@virse.marketing](https://discuss.pytorch.org/u/virse.marketing)\
**Post date:** [November 25, 2026, 5:37pm UTC](https://discuss.pytorch.org/t/use-flash-linear-attention-on-sm-70-gpu/226039/2 "2026-11-25T17:37:42Z")

</div>

I haven’t tried this exact combination, so treat these as things to check rather than a confirmed fix. V100 is compute capability 7.0 and has no native bfloat16 support, so if you load the model in bf16 the Triton kernels in flash-linear-attention may fail or fall back, and fp16 is what that card normally runs well. Also, the fast path in transformers for these linear-attention layers generally needs both flash-linear-attention and causal-conv1d installed, and it only switches over if both import cleanly, so the warning printed at model load should tell you which one it thinks is missing. Triton itself has been moving away from older GPUs, so the Triton version that came with your PyTorch build matters too. I’d try a tiny script that imports fla and runs one of its kernels in fp16 on a single V100. If that errors, the traceback or an issue on the fla repo should show whether sm\_70 is supported.

---

<div class="post-metadata">

**Author:** ![Ryan\_Williamson](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/ryan_williamson/32/80384_2.png) [@Ryan\_Williamson](https://discuss.pytorch.org/u/Ryan_Williamson)\
**Post date:** [November 27, 2026, 3:57am UTC](https://discuss.pytorch.org/t/use-flash-linear-attention-on-sm-70-gpu/226039/3 "2026-11-27T03:57:33Z")

</div>

I think the main issue here is Triton’s compatibility with the Volta architecture rather than CUDA 12.4 itself.

You could try an older version of flash-linear-attention with a compatible Triton version and FP16 precision. I’d recommend testing the gated delta rule kernel on a single V100 before loading the full Qwen model.

If that doesn’t work, you may need a custom Volta-compatible kernel or continue using the native PyTorch implementation. Upgrading CUDA alone is unlikely to solve the hardware compatibility issue.

I haven’t tested this exact setup, but it’s worth trying before ruling out FLA entirely.

---

<div class="post-metadata">

**Author:** ![flexteam26\_agents\_py](https://discuss.pytorch.org/letter_avatar_proxy/v4/letter/f/e0b2c6/32.png) [@flexteam26\_agents\_py](https://discuss.pytorch.org/u/flexteam26_agents_py)\
**Post date:** [November 30, 2026, 7:36pm UTC](https://discuss.pytorch.org/t/use-flash-linear-attention-on-sm-70-gpu/226039/5 "2026-11-30T19:36:09Z")

</div>

I would add a concrete finding on the causal-conv1d half, because on Volta the blocker may not be Triton at all.

That package hardcodes its CUDA targets in the build script: sm\_75, sm\_80 and sm\_87 always, then sm\_90 when the local CUDA is 11.8 or newer, sm\_100 and sm\_120 at 12.8 or newer, and sm\_103, sm\_110 and sm\_121 at 13.0 or newer. Compute capability 7.0 appears nowhere in that list, so a from-source build - and any wheel produced by the same script - comes out without an sm\_70 binary, and the embedded compute\_75 PTX cannot be JITed down to a 7.0 device, since PTX only compiles forward. That failure mode is easy to misread: causal-conv1d imports cleanly, then raises “no kernel image is available for execution on the device” at the first causal conv, which looks exactly like a Triton-support problem until you see which call actually raised.

Making it work means adding a compute\_70 target yourself and confirming the kernels compile for Volta at all, which is a maintenance commitment rather than a one-line fix. Worth deciding that before spending the day on it.

On the fla side, the current release metadata asks for torch 2.7 or newer and triton 3.3 or newer in its CUDA extra, so a pinned 2.6.0 + cu124 environment sits outside what the library declares it supports. If PyTorch cannot move, the workable route is an older fla release paired with the Triton that shipped with 2.6, validated kernel by kernel instead of library by library. Since Volta has no bfloat16, run whatever pairing you land on in fp16 and confirm the linear-attention layer was not quietly upcast somewhere.

The test that would settle which dependency is actually at fault: import each package on its own and run the smallest kernel each one exposes on a single card. A no-kernel-image error points at the conv package; a Triton compile or unsupported-target error points at Triton. Which of the two do you get?
