Skip to content

Commit

Permalink
fused loss
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Sep 9, 2024
1 parent a69f0bd commit db448c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/train/OLMo-13B.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def build_trainer_config(common: CommonComponents) -> TrainerConfig:
metrics_collect_interval=10,
cancel_check_interval=1,
z_loss_multiplier=1e-5,
fused_loss=True,
)
.with_callback(
"lr_scheduler", SchedulerCallback(scheduler=CosWithWarmup(warmup_steps=2000))
Expand Down

0 comments on commit db448c8

Please sign in to comment.