Skip to content

Commit

Permalink
Update src/zeroband/train.py
Browse files Browse the repository at this point in the history
Co-authored-by: samsja <[email protected]>
  • Loading branch information
apaz-cli and samsja authored Jan 18, 2025
1 parent d28e6d1 commit 0e87e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zeroband/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def train(config: Config):

with record_function("Loss calculation"):
if (config.optimizations.fused_linear_ce and config.optim.z_loss):
raise ValueError("Liger kernel does not yet support fused linear CE and z loss. See https://github.com/linkedin/Liger-Kernel/issues/527")
raise NotImplementedError("Liger kernel does not yet support fused linear CE and z loss. See https://github.com/linkedin/Liger-Kernel/issues/527")

ce_loss, z_loss = compute_cross_entropy_loss(
flatten_logits,
Expand Down

0 comments on commit 0e87e1d

Please sign in to comment.