Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: fix wrapper for pypy #514

Merged
merged 1 commit into from
Jun 14, 2019
Merged

ENH: fix wrapper for pypy #514

merged 1 commit into from
Jun 14, 2019

Conversation

mattip
Copy link
Contributor

@mattip mattip commented Jun 12, 2019

Fixes #398

With this and #507 I can run benchmarks with pypy and python3

python -m asv run --config asv.conf.json.sample --python=pypy3 pypy~1..pypy
python -m asv run --config asv.conf.json.sample --python=3.6 pypy~1..pypy

and (after adding this branch to the branches key in the config file) view the results with

python -m asv publish --config asv.conf.json.sample
python -m asv preview --config asv.conf.json.sample

Unfortunately, asv is not really set up to compare across pythons (see airspeed-velocity/asv#789 which I think helps) so I needed to use the web framework to be able to compare. While PyPy is slower at most benchmarks, for some it gives a noticable speedup.

@j-towns j-towns merged commit 541a70b into HIPS:master Jun 14, 2019
@j-towns
Copy link
Collaborator

j-towns commented Jun 14, 2019

Thanks for this. Are you already aware of JAX? It's written by most of the same team as Autograd, and has jit compilation as a feature. I'm not sure what the current status of pypy support is with JAX, here's an issue no the topic: jax-ml/jax#474.

@jvesely
Copy link

jvesely commented Jun 16, 2019

Hi, is there a release planned in the near future?
This fix would be useful, but I see the last release was in 2017.

jvesely added a commit to jvesely/PsyNeuLink that referenced this pull request Jun 16, 2019
Until a release that includes HIPS/autograd#514
is available.
Signed-off-by: Jan Vesely <[email protected]>
jvesely added a commit to jvesely/PsyNeuLink that referenced this pull request Jun 16, 2019
Until a release that includes HIPS/autograd#514
is available.
Signed-off-by: Jan Vesely <[email protected]>
jvesely added a commit to jvesely/PsyNeuLink that referenced this pull request Jun 18, 2019
Until a release that includes HIPS/autograd#514
is available.
Signed-off-by: Jan Vesely <[email protected]>
jvesely added a commit to jvesely/PsyNeuLink that referenced this pull request Jun 27, 2019
Until a release that includes HIPS/autograd#514
is available.
Signed-off-by: Jan Vesely <[email protected]>
jvesely added a commit to jvesely/PsyNeuLink that referenced this pull request Jun 28, 2019
Until a release that includes HIPS/autograd#514
is available.
Signed-off-by: Jan Vesely <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't import autograd in PyPy
3 participants