-
May I Know what is the fundamental difference between Sequential and Parallel trainer? According to the documentation, the sequential trainer process agents sequentially while the parallel one process agents in a parallel way, meaning training time for the parallel trainer is much lesser than the sequential trainer? If yes, why all the provided examples are using the sequential trainer? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @berttggg The next charts show some stats about the use of the sequential and parallel trainer for the following case:
Summary: Training several algorithms (or the same algorithm several times) is faster by using simultaneous training rather than standalone training. For few agents, there is no gain on training time reduction. However, some time ago I trained about 10000 PPO agents for some experiments. At that time, the parallel training (of 24 agents at a time, what the GPU memory allowed me) was faster than the sequential one. Unfortunately, I don't keep statistics about it |
Beta Was this translation helpful? Give feedback.
Hi @berttggg
The next charts show some stats about the use of the sequential and parallel trainer for the following case:
Summary: Training several algorithms (or the same algorithm several times) is faster by using simulta…