Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
types
Daniel Han81a87cc262c0
diff --git a/unsloth/kernels/rms_layernorm.py b/unsloth/kernels/rms_layernorm.pyindex 4b22f8c3e59..10b435dd57a 100644--- a/unsloth/kernels/rms_layernorm.py+++ b/unsloth/kernels/rms_layernorm.py@@ -191,7 +191,7 @@ pass# [TODO] Unsure why RMS Layernorm is not torch.compiling properly+# @torch.compiler.disabledef fast_rms_layernorm(layernorm, X : torch.Tensor, gemma : bool = False):W : torch.Tensor = layernorm.weighteps : float = layernorm.variance_epsilon if \diff --git a/unsloth/kernels/rope_embedding.py b/unsloth/kernels/rope_embedding.pyindex a8173d24536..246055dc7b2 100644--- a/unsloth/kernels/rope_embedding.py+++ b/unsloth/kernels/rope_embedding.py@@ -16,7 +16,7 @@ import tritonimport triton.language as tlimport torchfrom .utils import calculate_settings-ROPE_GROUP_SIZE = 4+ROPE_GROUP_SIZE : int = 4@triton.heuristics({"BACKWARD_PASS": lambda args: bool(args["BACKWARD_PASS"]),})@triton.jit