Add typo checker in pre-commit (#6179)

Co-authored-by: Brayden Zhong <b8zhong@uwaterloo.ca>
This commit is contained in:
applesaucethebunandBrayden Zhong authored and GitHub committed 2025-05-11 12:55:00 +08:00
1 parent de167cf5fa
commit 2ce8793519
99 files changed
+154 -144

No files matched your search

+2 -2
View File
@@ -718,7 +718,7 @@ void decode_attention_kernel_impl(
m_prime = m_i;
// caculate V' <- s_delta @ V + V' * m_delta
// calculate V' <- s_delta @ V + V' * m_delta
index_gemm_kernel_nn<scalar_t, index_t>(
/* A */ s_delta,
/* B */ v_buffer + head_id * v_strideH,
@@ -925,7 +925,7 @@ void decode_attention_grouped_kernel_impl(
m_prime[h] = m_i;
}
// caculate V' <- s_delta @ V + V' * m_delta
// calculate V' <- s_delta @ V + V' * m_delta
index_gemm_kernel_nn<scalar_t, index_t>(
/* A */ s_delta,
/* B */ v_buffer + head_kv_id * v_strideH,