Skip to content

Commit

Permalink
Extra FAQ bits
Browse files Browse the repository at this point in the history
  • Loading branch information
andyljones committed Jul 19, 2020
1 parent af1e849 commit 8eb0217
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@
FAQ
===

How is megastep so fast?
------------------------
It cheats. It uses an extremely stripped down physics and rendering engine (most notably 1D observations) and it
simulates thousands of environments in parallel on the GPU.

How is megastep so flexible?
----------------------------
All the state is kept in `pytorch <https://pytorch.org/>`_ tensors, and only the compute-intensive physics and
rendering kernels are written in CUDA. Game logic is pretty fast compared to physics and rendering, so that
can be done in Python with the ops provided by pytorch. Thanks, pytorch.

.. _inheritance:

Why doesn't megastep use inheritance?
Expand Down

0 comments on commit 8eb0217

Please sign in to comment.