fix(nightly-fft): pin hendrycks attn to flash_attention_2 (#3131)

DeepSeek-R1-Distill-Qwen-1.5B is Qwen2 arch, not in prime-rl's
custom-impl support list, so impl='auto' resolves to 'hf'. The
platform default attn='flash_attention_3' requires impl='custom',
which raises ValueError and the trainer crash-loops. Pin attn to
fa2 (works with hf impl on H200).
This commit is contained in:
JannikSt
2026-07-24 02:10:21 +02:00
committed by GitHub
parent fca9fb0975
commit dea7707526
@@ -36,6 +36,7 @@ group_size = 32
[trainer.model] [trainer.model]
seq_len = 16384 seq_len = 16384
attn = "flash_attention_2"
[inference.parallel] [inference.parallel]
dp = 4 dp = 4