[CI] fix typo with tests/ etc. (#3727)

* fix spelling error with examples/comminity/

* fix spelling error with tests/

* fix some spelling error with tests/ colossalai/ etc.

* fix spelling error with tests/ etc. date:2023.5.10
This commit is contained in:
digger-yu
2023-05-11 16:30:58 +08:00
committed by GitHub
parent 899aa86368
commit 1f73609adb
13 changed files with 24 additions and 24 deletions

View File

@@ -45,7 +45,7 @@ def check_ring_qk(rank, world_size):
ring_qk = colossalai.nn.layer.parallel_sequence.RingQK.apply
sub_a = ring_qk(sub_q, sub_k, batch_size, num_heads, sub_seq_length)
# check master and distributed attetion scores
# check master and distributed attention scores
sub_master_a = a[:, rank * sub_seq_length:(rank + 1) * sub_seq_length]
assert torch.allclose(sub_a, sub_master_a, rtol=1e-5, atol=1e-2)