don't need temp arg to distill method

This commit is contained in:
Wing Lian
2025-05-23 10:42:25 -04:00
parent 49e2fa825d
commit a8d9fab635

View File

@@ -125,7 +125,6 @@ class LigerFusedLinearKLTopKLogprobFunction(LigerFusedLinearDistillationBase):
target_token_ids_chunk,
target_logprobs_chunk,
target_mask_chunk,
temperature=temperature,
)
loss = weight_hard_loss * ce_loss + weight_soft_loss * soft_loss