From e1b8dcf536604d50cef4133357c29d896efe5bdf Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Mon, 4 Nov 2024 00:07:52 -0800 Subject: [PATCH] Update cross_entropy_loss.py --- unsloth/kernels/cross_entropy_loss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unsloth/kernels/cross_entropy_loss.py b/unsloth/kernels/cross_entropy_loss.py index d1b8ae8275..abe08d7d06 100644 --- a/unsloth/kernels/cross_entropy_loss.py +++ b/unsloth/kernels/cross_entropy_loss.py @@ -110,7 +110,7 @@ def _chunked_cross_entropy_forward( logsumexp_ptr , labels_ptr , VOCAB_SIZE : tl.constexpr, - N_CHUNKS : tl.constexpr, + N_CHUNKS , BLOCK_SIZE : tl.constexpr, DO_SOFTCAPPING , SOFTCAP ,