Add typo checker in pre-commit (#6179)

Co-authored-by: Brayden Zhong <b8zhong@uwaterloo.ca>
This commit is contained in:
applesaucethebun
2025-05-11 00:55:00 -04:00
committed by GitHub
parent de167cf5fa
commit 2ce8793519
99 changed files with 154 additions and 144 deletions

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,