RL icon indicating copy to clipboard operation
RL copied to clipboard

[TRAIN-6] flash-linear-attention and causal-conv1d missing from container and docs for Qwen3.5

Open anwithk opened this issue 6 months ago • 2 comments

Problem

flash-linear-attention and causal-conv1d are required for full Qwen3.5 performance on the DTensor backend. Without these packages, DTensor silently falls back to the default PyTorch implementation and trains approximately 2x slower. Neither the NeMo-RL container nor the documentation mentions this requirement.

Suggested fix

  • Add flash-linear-attention and causal-conv1d to the NeMo-RL container.
  • Document these packages as required dependencies for Qwen3.5 training on DTensor.

anwithk avatar Jun 05 '26 19:06 anwithk

This is the issue already tracked by https://github.com/NVIDIA-NeMo/RL/issues/2324. Two action items:

  • [ ] Have FLA installed into the nemo rl container and confirm it is used as the default. This requires Automodel bump up in NeMo RL to include https://github.com/NVIDIA-NeMo/Automodel/pull/1894, which is covered by https://github.com/NVIDIA-NeMo/RL/pull/2224. Details:
  • gemma4-support PR #2224 pins Automodel at 6de0c3612156c1d882b6e951af9b0f5d9af29d4a
  • Automodel PR #1894 ("build: move flash-linear-attention back to optional-dependencies") merged into main on 2026-04-20 as merge commit d0874b3.
  • GitHub compare d0874b3...6de0c361 returns status: ahead, behind_by: 0 — the pinned commit is a direct descendant of the PR merge (46 commits ahead, 0 behind), so the PR is in its history.
  • uv.lock also confirms flash-linear-attention is resolved. @zpqiu could you check and confirm?
  • [ ] Documentation - Need to see how to restructure and optimize the documentation to include more model-specific guidance and information, as also requested by other VDR issues.

sharonyu-115 avatar Jun 11 '26 05:06 sharonyu-115

I am picking this up. First I will verify whether flash-linear-attention and causal-conv1d are actually installed in the current container image / dependency lock for Qwen3.5 on the DTensor (AutoModel) backend, and then open a PR with the container + docs fix for whatever gap remains.

four1er avatar Nov 23 '26 06:11 four1er