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 . Is there a way to use flash-linear-attention in this setup?
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.
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.
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?