Skip to content

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.

Update rope_embedding.py

Daniel Han4076dc49cbaa
diff --git a/unsloth/kernels/rope_embedding.py b/unsloth/kernels/rope_embedding.py
index 44a7cda12f7..a8173d24536 100644
--- a/unsloth/kernels/rope_embedding.py
+++ b/unsloth/kernels/rope_embedding.py
@@ -25,9 +25,9 @@ def _rope_embedding(
cos, cos_row_stride,
sin, sin_row_stride,
seqlen,
- head_dim : tl.constexpr,
- n_heads : tl.constexpr,
- BACKWARD_PASS : tl.constexpr,
+ head_dim,
+ n_heads,
+ BACKWARD_PASS,
BLOCK_SIZE : tl.constexpr,
):
"""