TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Keras on PyPy?

4 点作者 RocketSyntax超过 5 年前
Wondering if non-standard interpreters like pypy and cpython can be used to speed up training.

4 条评论

garybake超过 5 年前
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超过 5 年前
It seems like there&#x27;s some progress, including a merged PR to tensorflow that should end up making this work, but I&#x27;m confused as to the exact status:<a href="https:&#x2F;&#x2F;github.com&#x2F;tensorflow&#x2F;tensorflow&#x2F;issues&#x2F;252" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tensorflow&#x2F;tensorflow&#x2F;issues&#x2F;252</a>
ghostbust555超过 5 年前
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.
评论 #21943999 未加载
评论 #21946789 未加载
psv1超过 5 年前
&gt; non-standard interpreters like pypy and cpython<p>Isn&#x27;t CPython the default and most standard interpreter?