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
Update rms_layernorm.py
Daniel Hanbf97546a1607
diff --git a/unsloth/kernels/rms_layernorm.py b/unsloth/kernels/rms_layernorm.pyindex 585684567c7..c331844e168 100644--- a/unsloth/kernels/rms_layernorm.py+++ b/unsloth/kernels/rms_layernorm.py@@ -157,7 +157,7 @@ class Fast_RMS_Layernorm(torch.autograd.Function):r, r.stride(0),n_cols = int(n_cols),eps = float(eps),- BLOCK_SIZE = BLOCK_SIZE,+ BLOCK_SIZE = triton.next_power_of_2(n_cols),num_warps = 16,)else:@@ -167,7 +167,7 @@ class Fast_RMS_Layernorm(torch.autograd.Function):W, W.stride(0),r, r.stride(0),n_cols, eps,- BLOCK_SIZE = BLOCK_SIZE,+ BLOCK_SIZE = triton.next_power_of_2(n_cols),num_warps = 16,)ctx.eps = eps