Fix spelling errors (#33978)

This commit is contained in:
lukec
2026-02-07 15:58:50 +08:00
committed by GitHub
parent c490d8cc73
commit 15a0b9e570
5 changed files with 10 additions and 10 deletions

View File

@@ -139,7 +139,7 @@ def prepare_inputs(
masked_m.append(mask.sum())
masked_m = torch.tensor(masked_m, dtype=torch.int32)
# Intialize the hidden_states_3d with ones instead of empty to avoid nan
# Initialize the hidden_states_3d with ones instead of empty to avoid nan
# issue.
hidden_states_3d = torch.ones(
(num_experts, max(masked_m), hidden_states.shape[1]), dtype=hidden_states.dtype