---
title: "liger-kernel 0.8.0 Breaking Changes on PyPI | Since.dev"
description: "What each liger-kernel release removed, renamed or changed: 184 breaking changes in 3 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/liger-kernel
last_updated: 2026-12-04
---

# liger-kernel breaking changes

liger-kernel 0.8.0 (April 30, 2026) is its newest release with breaking changes, 109 of them. The first: Signature changed apply_rotary_pos_emb. Every breaking API change we have recorded in liger-kernel on PyPI: 184 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.8.6`, released December 4, 2026. [Source repository](https://github.com/linkedin/Liger-Kernel)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.6.0](#v-0-6-0) to [0.8.0](#v-0-8-0): 140 breaking changes in 2 versions.

## liger-kernel 0.8.0 breaking changes

liger-kernel 0.8.0, released April 30, 2026: 109 breaking changes.

- **Signature changed** `apply_rotary_pos_emb`  

The pos_ids parameter was removed from apply_rotary_pos_emb, so calls that pass it must drop that argument. [github.com](https://github.com/linkedin/Liger-Kernel/releases/tag/v0.8.0)
- **Signature changed** `liger_kernel.chunked_loss.functional.LigerFusedLinearGRPOFunction.forward`  

Was @classmethod def forward(cls, ctx, \_input, weight, selected_token_ids, attention_mask, advantages, bias=None, ref_per_token_logps=None, old_per_token_logps=None, ref_input=None, ref_weight=None, ref_bias=None, beta=0.04... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.chunked_loss.functional.LigerFusedLinearGRPOFunction.ppo_loss_fn`  

Was @staticmethod def ppo_loss_fn(log_probs, selected_token_ids, attention_mask, advantages, full_attention_mask, ref_per_token_logps=None, old_per_token_logps=None, ref_log_probs=None, epsilon_low=0.2, epsilon_high=0.2, beta=0.04... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.chunked_loss.fused_linear_ppo.LigerFusedLinearPPOBase.chunk_forward`  

Was @staticmethod def chunk_forward(input_chunk, weight, bias=None, temperature=1.0); now @staticmethod def chunk_forward(input_chunk, weight, selected_token_ids, bias=None, temperature=1.0). [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.chunked_loss.fused_linear_ppo.LigerFusedLinearPPOBase.forward`  

Was @staticmethod def forward(cls, ctx, \_input, weight, selected_token_ids, attention_mask, advantages, bias=None, ref_per_token_logps=None, old_per_token_logps=None, ref_input=None, ref_weight=None, ref_bias=None, epsilon_low=0.2... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.chunked_loss.LigerFusedLinearGRPOLoss.__init__`  

Was def \_\_init\_\_(self, beta: float = 0.04, compiled: bool = True, use_ref_model: bool = True, chunk_size: int = 1, epsilon_low: float = 0.2, epsilon_high: float = 0.2, loss_type: str = 'dapo', max_completion_length: Optional\[int\] = None... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.ops.cross_entropy_forward`  

Was def cross_entropy_forward(\_input, target, weight, ignore_index, lse_square_scale, label_smoothing, reduction, softcap, return_z_loss, return_token_accuracy=False); now def cross_entropy_forward(\_input, target, weight, ignore_index... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.ops.cross_entropy.liger_cross_entropy_kernel`  

Was def liger_cross_entropy_kernel(X_ptr, X_stride, Y_ptr, Y_stride, weight_ptr, loss_ptr, z_loss_ptr, loss_stride, token_accuracy_ptr, token_accuracy_stride, n_cols, n_non_ignore, sum_non_ignore_weight, weight_sum, ignore_index... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.ops.fused_add_rms_norm_backward`  

Was def fused_add_rms_norm_backward(dY, dS_out, S, W, RSTD, offset, casting_mode, BLOCK_SIZE, num_warps, in_place); now def fused_add_rms_norm_backward(dY, dS_out, S, W, RSTD, offset, casting_mode, BLOCK_SIZE, num_warps, num_stages... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.ops.fused_linear_cross_entropy_forward`  

Was def fused_linear_cross_entropy_forward(\_input, weight, target, ce_weight=None, bias=None, ignore_index=-100, lse_square_scale=0.0, label_smoothing=0.0, reduction='mean', softcap=None, return_z_loss=False, accum_dtype=None... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.ops.fused_linear_cross_entropy.liger_cross_entropy_kernel`  

Was def liger_cross_entropy_kernel(X_ptr, X_stride, Y_ptr, Y_stride, weight_ptr, loss_ptr, z_loss_ptr, loss_stride, token_accuracy_ptr, token_accuracy_stride, n_cols, n_non_ignore, sum_non_ignore_weight, weight_sum, ignore_index... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.ops.GrpoLossFunction.forward`  

Was @staticmethod def forward(ctx, logits, old_logp, ref_logp, completion_ids, advantages, completion_mask, temperature, beta, eps_low, eps_high, inplace, loss_type='grpo', sapo_temperature_pos=1.0, sapo_temperature_neg=1.05... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.ops.LigerCrossEntropyFunction.backward`  

Was @staticmethod def backward(ctx, grad_output, grad_output2, grad_output3); now @staticmethod def backward(ctx, grad_output, grad_output2, grad_output3, grad_output4). [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.ops.LigerCrossEntropyFunction.forward`  

Was @staticmethod def forward(ctx, \_input: torch.Tensor, target: torch.Tensor, weight: Optional\[torch.FloatTensor\], ignore_index: int = -100, lse_square_scale: float = 0.0, label_smoothing: float = 0.0, reduction: str = 'mean', softcap... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.ops.LigerFusedLinearCrossEntropyFunction.backward`  

Was @staticmethod def backward(ctx, grad_output, grad_output2, grad_output3); now @staticmethod def backward(ctx, grad_output, grad_output2, grad_output3, grad_output4). [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.ops.LigerFusedLinearCrossEntropyFunction.forward`  

Was @staticmethod def forward(ctx, \_input, weight, target, bias=None, ce_weight=None, ignore_index=-100, lse_square_scale=0.0, label_smoothing=0.0, reduction='mean', softcap=None, return_z_loss: bool = False, accum_dtype=None... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.ops.LigerSiLUMulFunction.forward`  

Was @staticmethod def forward(ctx, a, b); now @staticmethod def forward(ctx, a, b, gate_multiplier: float = 1.0, down_multiplier: float = 1.0). [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.ops.swiglu_backward`  

Was def swiglu_backward(a, b, dc); now def swiglu_backward(a, b, dc, gate_multiplier: float = 1.0). [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.ops.swiglu_forward`  

Was def swiglu_forward(a, b); now def swiglu_forward(a, b, gate_multiplier: float = 1.0). [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.cross_entropy.CrossEntropyOutput.__init__`  

Was def \_\_init\_\_(self, loss: torch.Tensor, z_loss: Optional\[torch.Tensor\] = None, token_accuracy: Optional\[torch.Tensor\] = None) -> None; now def \_\_init\_\_(self, loss: torch.Tensor, z_loss: Optional\[torch.Tensor\] = None, token_accuracy... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.functional.liger_cross_entropy`  

Was def liger_cross_entropy(input, target, weight=None, size_average=None, ignore_index: int = -100, reduce=None, reduction: str = 'mean', label_smoothing: float = 0.0, lse_square_scale: float = 0.0, softcap: Optional\[float\] = None... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.functional.liger_fused_linear_cross_entropy`  

Was def liger_fused_linear_cross_entropy(input, weight, target, bias=None, ce_weight=None, ignore_index: int = -100, lse_square_scale: float = 0.0, label_smoothing: float = 0.0, reduction: str = 'mean', softcap: Optional\[float\] = None... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.grpo_loss.triton_grpo_loss`  

Was def triton_grpo_loss(logits, old_logp, ref_logp, completion_ids, advantages, completion_mask=None, temperature=0.9, beta=0.04, eps_low=0.2, eps_high=0.4, inplace=True, loss_type='dapo', max_completion_length=None... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.LigerCrossEntropyLoss.__init__`  

Was def \_\_init\_\_(self, weight: Optional\[torch.FloatTensor\] = None, ignore_index: int = -100, lse_square_scale: float = 0.0, label_smoothing: float = 0.0, reduction: str = 'mean', softcap: Optional\[float\] = None, return_z_loss: bool =... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.LigerFusedLinearCrossEntropyLoss.__init__`  

Was def \_\_init\_\_(self, ce_weight: Optional\[torch.FloatTensor\] = None, ignore_index: int = -100, lse_square_scale: float = 0.0, label_smoothing: float = 0.0, reduction: str = 'mean', softcap: Optional\[float\] = None, return_z_loss: bool =... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.exaone4.LigerCausalLMOutputWithPast.__init__`  

Was def \_\_init\_\_(self, token_accuracy: Optional\[torch.FloatTensor\] = None) -> None; now def \_\_init\_\_(self, token_accuracy: Optional\[torch.FloatTensor\] = None, predicted_tokens: Optional\[torch.LongTensor\] = None) -> None. [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.exaone4.LigerForCausalLMLoss`  

Was def LigerForCausalLMLoss(hidden_states, lm_head_weight, labels, hidden_size: int, num_items_in_batch: Optional\[int\] = None, ignore_index: int = -100, shift_labels: Optional\[torch.Tensor\] = None, final_logit_softcapping: Optional\[float\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.exaone4.unpack_cross_entropy_result`  

Was def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]\]; now def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.falcon_h1.LigerForCausalLMLoss`  

Was def LigerForCausalLMLoss(hidden_states, lm_head_weight, labels, hidden_size: int, num_items_in_batch: Optional\[int\] = None, ignore_index: int = -100, shift_labels: Optional\[torch.Tensor\] = None, final_logit_softcapping: Optional\[float\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.falcon_h1.unpack_cross_entropy_result`  

Was def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]\]; now def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.gemma.LigerForCausalLMLoss`  

Was def LigerForCausalLMLoss(hidden_states, lm_head_weight, labels, hidden_size: int, num_items_in_batch: Optional\[int\] = None, ignore_index: int = -100, shift_labels: Optional\[torch.Tensor\] = None, final_logit_softcapping: Optional\[float\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.gemma.unpack_cross_entropy_result`  

Was def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]\]; now def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.gemma2.LigerForCausalLMLoss`  

Was def LigerForCausalLMLoss(hidden_states, lm_head_weight, labels, hidden_size: int, num_items_in_batch: Optional\[int\] = None, ignore_index: int = -100, shift_labels: Optional\[torch.Tensor\] = None, final_logit_softcapping: Optional\[float\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.gemma2.unpack_cross_entropy_result`  

Was def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]\]; now def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.gemma3.LigerForCausalLMLoss`  

Was def LigerForCausalLMLoss(hidden_states, lm_head_weight, labels, hidden_size: int, num_items_in_batch: Optional\[int\] = None, ignore_index: int = -100, shift_labels: Optional\[torch.Tensor\] = None, final_logit_softcapping: Optional\[float\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.gemma3.LigerGemma3CausalLMOutputWithPast.__init__`  

Was def \_\_init\_\_(self, token_accuracy: Optional\[torch.FloatTensor\] = None) -> None; now def \_\_init\_\_(self, token_accuracy: Optional\[torch.FloatTensor\] = None, predicted_tokens: Optional\[torch.LongTensor\] = None) -> None. [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.gemma3.unpack_cross_entropy_result`  

Was def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]\]; now def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.glm4.LigerForCausalLMLoss`  

Was def LigerForCausalLMLoss(hidden_states, lm_head_weight, labels, hidden_size: int, num_items_in_batch: Optional\[int\] = None, ignore_index: int = -100, shift_labels: Optional\[torch.Tensor\] = None, final_logit_softcapping: Optional\[float\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.glm4.unpack_cross_entropy_result`  

Was def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]\]; now def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.glm4v_moe.lce_forward`  

Was def lce_forward(self, input_ids: torch.LongTensor = None, attention_mask: Optional\[torch.Tensor\] = None, position_ids: Optional\[torch.LongTensor\] = None, past_key_values: Optional\[list\[torch.FloatTensor\]\] = None, inputs_embeds... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.glm4v_moe.LigerForCausalLMLoss`  

Was def LigerForCausalLMLoss(hidden_states, lm_head_weight, labels, hidden_size: int, num_items_in_batch: Optional\[int\] = None, ignore_index: int = -100, shift_labels: Optional\[torch.Tensor\] = None, final_logit_softcapping: Optional\[float\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.glm4v_moe.LigerGlm4vMoeCausalLMOutputWithPast.__init__`  

Was def \_\_init\_\_(self, token_accuracy: Optional\[torch.FloatTensor\] = None) -> None; now def \_\_init\_\_(self, token_accuracy: Optional\[torch.FloatTensor\] = None, predicted_tokens: Optional\[torch.LongTensor\] = None) -> None. [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.glm4v_moe.unpack_cross_entropy_result`  

Was def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]\]; now def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.glm4v.lce_forward`  

Was def lce_forward(self, input_ids: torch.LongTensor = None, attention_mask: Optional\[torch.Tensor\] = None, position_ids: Optional\[torch.LongTensor\] = None, past_key_values: Optional\[List\[torch.FloatTensor\]\] = None, inputs_embeds... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.glm4v.LigerForCausalLMLoss`  

Was def LigerForCausalLMLoss(hidden_states, lm_head_weight, labels, hidden_size: int, num_items_in_batch: Optional\[int\] = None, ignore_index: int = -100, shift_labels: Optional\[torch.Tensor\] = None, final_logit_softcapping: Optional\[float\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.glm4v.unpack_cross_entropy_result`  

Was def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]\]; now def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.gpt_oss.LigerForCausalLMLoss`  

Was def LigerForCausalLMLoss(hidden_states, lm_head_weight, labels, hidden_size: int, num_items_in_batch: Optional\[int\] = None, ignore_index: int = -100, shift_labels: Optional\[torch.Tensor\] = None, final_logit_softcapping: Optional\[float\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.gpt_oss.LigerMoeCausalLMOutputWithPast.__init__`  

Was def \_\_init\_\_(self, token_accuracy: Optional\[torch.FloatTensor\] = None) -> None; now def \_\_init\_\_(self, token_accuracy: Optional\[torch.FloatTensor\] = None, predicted_tokens: Optional\[torch.LongTensor\] = None) -> None. [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.gpt_oss.unpack_cross_entropy_result`  

Was def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]\]; now def unpack_cross_entropy_result(result) -> Tuple\[torch.Tensor, Optional\[torch.Tensor\], Optional\[torch.Tensor\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)
- **Signature changed** `liger_kernel.transformers.model.hunyuan_v1.LigerForCausalLMLoss`  

Was def LigerForCausalLMLoss(hidden_states, lm_head_weight, labels, hidden_size: int, num_items_in_batch: Optional\[int\] = None, ignore_index: int = -100, shift_labels: Optional\[torch.Tensor\] = None, final_logit_softcapping: Optional\[float\]... [pypi.org](https://pypi.org/project/liger-kernel/0.8.0/)

And 59 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## liger-kernel 0.7.0 breaking changes

liger-kernel 0.7.0, released February 12, 2026: 31 breaking changes.

- **Removed** `liger_kernel.transformers.model.gemma.lce_forward_deprecated`  

liger_kernel.transformers.model.gemma.lce_forward_deprecated was removed in liger-kernel 0.7.0 [pypi.org](https://pypi.org/project/liger-kernel/0.7.0/)
- **Removed** `liger_kernel.transformers.model.gemma.LigerFusedLinearCrossEntropyLoss`  

liger_kernel.transformers.model.gemma.LigerFusedLinearCrossEntropyLoss was removed in liger-kernel 0.7.0 [pypi.org](https://pypi.org/project/liger-kernel/0.7.0/)
- **Removed** `liger_kernel.transformers.model.gemma2.lce_forward_deprecated`  

liger_kernel.transformers.model.gemma2.lce_forward_deprecated was removed in liger-kernel 0.7.0 [pypi.org](https://pypi.org/project/liger-kernel/0.7.0/)
- **Removed** `liger_kernel.transformers.model.gemma2.LigerFusedLinearCrossEntropyLoss`  

liger_kernel.transformers.model.gemma2.LigerFusedLinearCrossEntropyLoss was removed in liger-kernel 0.7.0 [pypi.org](https://pypi.org/project/liger-kernel/0.7.0/)
- **Removed** `liger_kernel.transformers.model.llama.lce_forward_deprecated`  

liger_kernel.transformers.model.llama.lce_forward_deprecated was removed in liger-kernel 0.7.0 [pypi.org](https://pypi.org/project/liger-kernel/0.7.0/)
- **Removed** `liger_kernel.transformers.model.llama.LigerFusedLinearCrossEntropyLoss`  

liger_kernel.transformers.model.llama.LigerFusedLinearCrossEntropyLoss was removed in liger-kernel 0.7.0 [pypi.org](https://pypi.org/project/liger-kernel/0.7.0/)
- **Removed** `liger_kernel.transformers.model.llava.lce_forward_deprecated`  

liger_kernel.transformers.model.llava.lce_forward_deprecated was removed in liger-kernel 0.7.0 [pypi.org](https://pypi.org/project/liger-kernel/0.7.0/)
- **Removed** `liger_kernel.transformers.model.llava.LigerFusedLinearCrossEntropyLoss`  

liger_kernel.transformers.model.llava.LigerFusedLinearCrossEntropyLoss was removed in liger-kernel 0.7.0 [pypi.org](https://pypi.org/project/liger-kernel/0.7.0/)
- **Removed** `liger_kernel.transformers.model.mixtral.lce_forward_deprecated`  

liger_kernel.transformers.model.mixtral.lce_forward_deprecated was removed in liger-kernel 0.7.0 [pypi.org](https://pypi.org/project/liger-kernel/0.7.0/)
- **Removed** `liger_kernel.transformers.model.mixtral.LigerFusedLinearCrossEntropyLoss`  

liger_kernel.transformers.model.mixtral.LigerFusedLinearCrossEntropyLoss was removed in liger-kernel 0.7.0 [pypi.org](https://pypi.org/project/liger-kernel/0.7.0/)

And 21 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## liger-kernel 0.6.0 breaking changes

liger-kernel 0.6.0, released July 9, 2025: 44 breaking changes.

- **Removed** `liger_kernel.transformers.gema3_rms`  

liger_kernel.transformers.gema3_rms was removed in liger-kernel 0.6.0 [pypi.org](https://pypi.org/project/liger-kernel/0.6.0/)
- **Renamed** `liger_kernel.transformers.gema3_rms.LigerRMSNormForGemma3`  

Use liger_kernel.transformers.rms_norm.LigerRMSNormForGemma3 instead. [pypi.org](https://pypi.org/project/liger-kernel/0.6.0/)
- **Signature changed** `liger_kernel.ops.rms_norm.LigerRMSNormFunction.forward`  

Was @staticmethod def forward(ctx, X, W, eps, offset=0.0, casting_mode='llama', in_place=True); now @staticmethod def forward(ctx, X, W, eps, offset=0.0, casting_mode='llama', in_place=True, row_mode=None). [pypi.org](https://pypi.org/project/liger-kernel/0.6.0/)
- **Signature changed** `liger_kernel.ops.rms_norm.rms_norm_backward`  

Was def rms_norm_backward(dY, X, W, RSTD, offset, casting_mode, BLOCK_SIZE, num_warps, in_place); now def rms_norm_backward(dY, X, W, RSTD, offset, casting_mode, BLOCK_SIZE, num_warps, in_place, row_mode). [pypi.org](https://pypi.org/project/liger-kernel/0.6.0/)
- **Signature changed** `liger_kernel.ops.rms_norm.rms_norm_forward`  

Was def rms_norm_forward(X, W, eps, offset, casting_mode); now def rms_norm_forward(X, W, eps, offset, casting_mode, row_mode). [pypi.org](https://pypi.org/project/liger-kernel/0.6.0/)
- **Signature changed** `liger_kernel.transformers.LigerRMSNorm.__init__`  

Was def \_\_init\_\_(self, hidden_size, eps=1e-06, offset=0.0, casting_mode='llama', init_fn='ones', in_place=True); now def \_\_init\_\_(self, hidden_size, eps=1e-06, offset=0.0, casting_mode='llama', init_fn='ones', in_place=True, row_mode=None). [pypi.org](https://pypi.org/project/liger-kernel/0.6.0/)
- **Signature changed** `liger_kernel.transformers.model.gemma.lce_forward`  

Was def lce_forward(self, input_ids: torch.LongTensor = None, attention_mask: Optional\[torch.Tensor\] = None, position_ids: Optional\[torch.LongTensor\] = None, past_key_values: Optional\[Union\[Cache, List\[torch.FloatTensor\]\]\] = None... [pypi.org](https://pypi.org/project/liger-kernel/0.6.0/)
- **Signature changed** `liger_kernel.transformers.model.gemma.lce_forward_deprecated`  

Was def lce_forward_deprecated(self, input_ids: torch.LongTensor = None, attention_mask: Optional\[torch.Tensor\] = None, position_ids: Optional\[torch.LongTensor\] = None, past_key_values: Optional\[Union\[Cache, List\[torch.FloatTensor\]\]\] =... [pypi.org](https://pypi.org/project/liger-kernel/0.6.0/)
- **Signature changed** `liger_kernel.transformers.model.gemma2.lce_forward`  

Was def lce_forward(self, input_ids: torch.LongTensor = None, attention_mask: Optional\[torch.Tensor\] = None, position_ids: Optional\[torch.LongTensor\] = None, past_key_values: Optional\[HybridCache\] = None, inputs_embeds... [pypi.org](https://pypi.org/project/liger-kernel/0.6.0/)
- **Signature changed** `liger_kernel.transformers.model.gemma2.lce_forward_deprecated`  

Was def lce_forward_deprecated(self, input_ids: torch.LongTensor = None, attention_mask: Optional\[torch.Tensor\] = None, position_ids: Optional\[torch.LongTensor\] = None, past_key_values: Optional\[HybridCache\] = None, inputs_embeds... [pypi.org](https://pypi.org/project/liger-kernel/0.6.0/)

And 34 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
