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 Haneddf0c46f409
diff --git a/unsloth/kernels/rms_layernorm.py b/unsloth/kernels/rms_layernorm.pyindex c331844e168..ae16b409251 100644--- a/unsloth/kernels/rms_layernorm.py+++ b/unsloth/kernels/rms_layernorm.py@@ -146,8 +146,8 @@ class Fast_RMS_Layernorm(torch.autograd.Function):num_warps : intBLOCK_SIZE, num_warps = calculate_settings(n_cols)- Y = torch.empty((n_rows, n_cols), dtype = X.dtype, device = "cuda:0")- r = torch.empty(n_rows, dtype = torch.float32, device = "cuda:0")+ Y : torch.Tensor = torch.empty(X.shape, dtype = X.dtype, device = "cuda:0")+ r : torch.Tensor = torch.empty(n_rows, dtype = torch.float32, device = "cuda:0")if not gemma:_rms_layernorm_forward[(n_rows,)](