Skip to content

Commit

Permalink
Update overview.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-petrenko authored Jun 8, 2024
1 parent 071574b commit 8bef7dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/06-architecture/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ At the core of Sample Factory structure is the idea that RL training can be spli
each one of them focusing on a specific task. This enables a modular design where these components can be
accelerated/parallelized independently, allowing us to achieve the maximum performance on any RL task.

Components interact asynchronously by sending and receving messages (aka signals, see a [dedicated section on message passing](message-passing.md)).
Components interact asynchronously by sending and receving messages (aka signals, see a [dedicated section on message passing](message-passing)).
Typically separate components live on different event loops in different processes, although the system is agnostic of
whether this is true and it is thus possible to run multiple (or even all components) on a single event loop in a single process.

Expand Down Expand Up @@ -87,4 +87,4 @@ Minibatch size is determined by `--batch_size` and number of epochs is determine
on each dataset (sorry for the obvious confusion between "batch" and "minibatch" terms, the parameter names are kept largely for legacy reasons).
* **signals** are messages sent between components. Signals are connected to **slots**, which are functions that are called
when a signal is received. This mechanism is inspired by Qt's signals and slots (see the [dedicated section on message passing](06-architecture/message-passing.md)).
* **shared memory buffers** are PyTorch tensors shared between processes, created with `share_memory_()` method.
* **shared memory buffers** are PyTorch tensors shared between processes, created with `share_memory_()` method.

0 comments on commit 8bef7dd

Please sign in to comment.