Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.

Commit 1983d7e

Browse files
committed
Remove flash attention3 as the default attention backend during training
Signed-off-by: Pranav Prashant Thombre <pthombre@nvidia.com>
1 parent a5b230a commit 1983d7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dfm/src/automodel/recipes/train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def setup(self):
171171
self.rng = StatefulRNG(seed=self.seed, ranked=True)
172172

173173
self.model_id = self.cfg.get("model.pretrained_model_name_or_path")
174-
self.attention_backend = self.cfg.get("model.attention_backend", "_flash_3_hub")
174+
self.attention_backend = self.cfg.get("model.attention_backend")
175175
self.learning_rate = self.cfg.get("optim.learning_rate", 5e-6)
176176
self.bf16 = torch.bfloat16
177177

0 commit comments

Comments
 (0)