Parallelization¶
This page contains the reference documentation for the parallelization module.
Vectorized Environments¶
These are interfaces, classes and utility functions for vectorized environments:
Abstract base class for vectorised environments. |
|
Common superclass for the structured vectorised env implementations in Maze. |
|
Creates a simple wrapper for multiple environments, calling each environment in sequence on the current Python process. |
|
Creates a multiprocess wrapper for multiple environments, distributing each environment to its own process. |
|
Uses cloudpickle to serialize contents (otherwise multiprocessing tries to use pickle). |
|
Sink hole statistics consumer. |
|
Disable collection of statistics on epoch level to save memory. |
Distributed Actors¶
These are interfaces, classes and utility functions for distributed actors:
The base class for all distributed actors. |
|
Dummy implementation of distributed actors creates the actors as a list. Once the outputs are to |
|
Basic Distributed-Actors-Module using python multiprocessing.Process |
|
The base class for all distributed workers with buffer. |
|
Dummy implementation of distributed workers with buffer creates the workers as a list. |
Utilities¶
Reusable components used in multiple distribution scenarios:
Synchronizes policy updates and other information across workers on local machine. |
|
A wrapper around BaseManager, used for managing the broadcasting container in multiprocessing scenarios. |