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
Layernorm
Daniel Han68b6bebded57
diff --git a/unsloth/kernels/__init__.py b/unsloth/kernels/__init__.pyindex 3b31f499992..82e76416938 100644--- a/unsloth/kernels/__init__.py+++ b/unsloth/kernels/__init__.py@@ -25,7 +25,6 @@ from .rms_layernorm import (from .layernorm import (fast_layernorm,patch_layernorm,- unpatch_layernorm,)from .rope_embedding import fast_rope_embedding, inplace_rope_embeddingfrom .swiglu import swiglu_fg_kernel, swiglu_DWf_DW_dfg_kerneldiff --git a/unsloth/kernels/layernorm.py b/unsloth/kernels/layernorm.pyindex 48d1a65ec7a..a5f7926e2e5 100644--- a/unsloth/kernels/layernorm.py+++ b/unsloth/kernels/layernorm.py@@ -17,7 +17,9 @@ import tritonimport triton.language as tlimport torchfrom .utils import calculate_settings-from unsloth_zoo import patch_layernorm+from unsloth_zoo.patching_utils import (+ patch_layernorm,+)@triton.jit