Skip to content

Commit

Permalink
Remove chunk arg
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Liu <[email protected]>
  • Loading branch information
austin362667 committed Dec 4, 2024
1 parent 805e50f commit 5257d26
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/liger_kernel/chunked_loss/fused_linear_distillation.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ def forward(
LigerFusedLinearDistillationBase._compute_loss,
distillation_loss_fn=loss_fn,
full_target=target,
chunk_size=chunk_size,
ignore_index=ignore_index,
weight_hard_loss=weight_hard_loss,
weight_soft_loss=weight_soft_loss,
Expand Down Expand Up @@ -202,7 +201,6 @@ def _compute_loss(
teacher_bias=None,
distillation_loss_fn=None,
full_target=None,
chunk_size=1,
ignore_index=-100,
temperature=1.0,
weight_hard_loss=0.5,
Expand Down

0 comments on commit 5257d26

Please sign in to comment.