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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user