HACKER Q&A
📣 RocketSyntax

Keras on PyPy?


Wondering if non-standard interpreters like pypy and cpython can be used to speed up training.


  👤 garybake Accepted Answer ✓
I got stuck on this problem a while ago. I was doing reinforcement learning and the environment needed to run in pypy to make it fast enough. I ended up using Pyro4 to bridge pypy (environment) and CPython (keras).

👤 pmiller2
It seems like there's some progress, including a merged PR to tensorflow that should end up making this work, but I'm confused as to the exact status:https://github.com/tensorflow/tensorflow/issues/252

👤 ghostbust555
Asked about this before. I was told no one cared since the real work is done in C and would not benefit from pypy. So the python level optimizations would not affect much.

👤 psv1
> non-standard interpreters like pypy and cpython

Isn't CPython the default and most standard interpreter?