Silent kernel death

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)
What I’m doing:
I load a Qwen3.5-style model (contains GatedDeltaNet linear attention layers) with device_map=“balanced” across 8 V100 GPUs (dtype float16), then run model.generate(…).
The code worked, but printed a warning recommending to install flash-linear-attention. So I installed it via uv pip install flash-linear-attention. During generate(), the whole Jupyter kernel process died with no Python traceback (log: “kernel process died, ExitCode undefined”). At that point I had fla + Triton 3.2.0 installed.

what I did:

  1. I upgraded Triton to 3.3.0 — didn’t help.
  2. I uninstalled flash-linear-attention alone — no change.
  3. I then uninstalled both flash-linear-attention and triton. No more crashes, but now model.generate() is extremely slow: ~8 minutes for a simple generation.

What is the probable cause of the original silent kernel death? Is it Triton 3.3.0 incompatible with torch 2.6.0 (which expects Triton 3.2.0), or an sm70 issue — i.e. do the fla/GatedDeltaNet Triton kernels support V100 (sm70) at all?
Thanks!

Jupyter notebooks are unfortunately crashing sometimes without properly report error messages. Try to run the code in a terminal (you can export the notebook as a script) and check if proper errors are displayed there.

I run the code .py file but at that moment I got this error

LLVM ERROR: Failed to compute parent layout for slice layout.

Thanks you! Indeed I think your initial guess was right:

Triton does not support GPU architectures older than Ampere (sm_80). From the repo:

Supported Hardware:

  • NVIDIA GPUs (Compute Capability 8.0+)

Since Triton (and so the fla kernels) needs sm_80+, the quickest way back to a working setup on the V100s is probably to uninstall flash-linear-attention again, so transformers falls back to its pure-PyTorch GatedDeltaNet path. That warning is a speed hint, not a requirement: generation gets slower, but it shouldn’t take the kernel down. (I’m with aicost.tools; on older cards I’d take the slow fallback over chasing kernels the hardware can’t run.)

Because the standalone script reports “Failed to compute parent layout for slice layout,” this looks like Triton kernel compilation rather than a notebook-only issue. On a V100 (sm70), changing Triton versions will not make an sm80-only FLA kernel usable; keep FLA disabled, but leave the Triton version expected by your PyTorch build installed. If the pure-PyTorch fallback still terminates, rerun a tiny prompt from a terminal with CUDA_LAUNCH_BLOCKING=1 and check the host’s NVIDIA Xid/OOM logs to distinguish an asynchronous CUDA fault or resource issue from the unsupported-kernel path.