torch.distributed.run.determine_local_world_size
-
torch.distributed.run.determine_local_world_size(nproc_per_node)[исходный код]
© 2026, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.14/elastic/generated/torch.distributed.run.determine_local_world_size.html