Skip to content

Commit a90a439

Browse files
committed
test: ignore torch 2.13 all_gather_into_tensor deprecation from DeepSpeed
The call comes from DeepSpeed's ZeRO-3 checkpointing; the API appears nowhere in Lightning's source or tests, so there is nothing to migrate on our side.
1 parent 4e4bf9b commit a90a439

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ filterwarnings = [
177177
# deprecated in torch 2.12; the suggested replacement is a private API
178178
# TODO: migrate to torch.distributed._functional_collectives.all_gather_single for torch>=2.12
179179
"ignore:torch.distributed.nn.functional.all_gather is deprecated.*:FutureWarning",
180+
# deprecated in torch 2.13; raised from inside DeepSpeed
181+
"ignore:`torch.distributed.all_gather_into_tensor` is deprecated.*:FutureWarning",
180182
# PyTorch pytree LeafSpec deprecation triggered during doctest
181183
"ignore:`isinstance\\(treespec, LeafSpec\\)` is deprecated.*:FutureWarning",
182184
]

0 commit comments

Comments
 (0)