[CI] update typos config for CI pre-commit and fix some spells (#20919)

Signed-off-by: Peter Pan <Peter.Pan@daocloud.io>
This commit is contained in:
Peter Pan
2025-07-15 21:12:40 -07:00
committed by GitHub
parent 6ebf313790
commit 1eb2b9c102
19 changed files with 200 additions and 196 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ class SambaYAttention(nn.Module):
],
dim=-1)
attn_output = self.attn(q, k, v)
else: # re-use the kv cache, full attention
else: # reuse the kv cache, full attention
q = self.Wqkv(hidden_states)
attn_output = self.attn(q, None, None)
attn_output = attn_output.view(-1, self.num_heads * self.head_dim)