stable_learning_control.utils.mpi_utils.mpi_pytorch
Helper methods for managing Pytorch MPI processes.
Note
This module is not yet used in any of the current algorithms, but is kept here for future reference.
Functions
Avoid slowdowns caused by each separate process's PyTorch using more than its |
|
|
Average contents of gradient buffers across MPI processes. |
|
Sync all parameters of module across all MPI processes. |
Module Contents
- stable_learning_control.utils.mpi_utils.mpi_pytorch.setup_pytorch_for_mpi()[source]
Avoid slowdowns caused by each separate process’s PyTorch using more than its fair share of CPU resources.