[CI] Upgrade codespell version. (#5381)

This commit is contained in:
SangBin Cho
2024-06-12 10:06:14 -07:00
committed by GitHub
parent e3c12bf6d2
commit 847cdcca1c
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ def test_filter_subtensors():
filtered_state_dict = ShardedStateLoader._filter_subtensors(state_dict)
assert tuple(filtered_state_dict.keys()) == ("a", "b", "c")
for key, tensor in filtered_state_dict.items():
# NOTE: don't use `euqal` here, as the tensor might contain NaNs
# NOTE: don't use `equal` here, as the tensor might contain NaNs
assert tensor is state_dict[key]