General and Rollout Runners

This page contains the reference documentation for all kinds of runners.

General Runners

These are the basic interfaces, classes and utility functions of runners:

Runner

Runner interface for running Maze from CLI.

maze_run

Run a CLI task based on the provided configuration.

Rollout Runners

These are interfaces, classes and utility functions for rollout runners:

Here can find the documentation for training runners.

RolloutRunner

General abstract class for rollout runners.

RolloutGenerator

Rollouts a given policy in a given environment, recording the trajectory (in the form of raw actions and observations).

SequentialRolloutRunner

Runs rollout in the local process.

ParallelRolloutRunner

Runs rollout in multiple processes in parallel.

ParallelRolloutWorker

Class encapsulating functionality performed in worker processes.

EpisodeRecorder

Keeps the statistics and event logs from the last episode so that it can then be shipped to the main process.

EpisodeStatsReport

Tuple for passing episode stats from workers to the main process.

ExceptionReport

Tuple for passing error reports from the workers to the main process.

ActionRecordRolloutRunner

Parallel rollout runner that allows to collect features by replaying pre-computed action records.

ActionRecordWorker

Class encapsulating functionality performed in worker processes.