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

Unexpected slow-down with @jit on simple functions that only use element-wise operations and jnp.roll() on CPUs #18478

Open
pmocz opened this issue Oct 18, 2024 · 0 comments
Assignees

Comments

@pmocz
Copy link

pmocz commented Oct 18, 2024

See issue raised with JAX: jax-ml/jax#24373

Simple colab reproducer: https://colab.research.google.com/drive/1pnnC3-XY8-K0MvUv9gH_on2-USG1ZaeY?usp=sharing

Unexpected major slowdown particular to the XLA:CPU compiler is seen when using @jax.jit on a fairly simple function that only use element-wise operations and jnp.roll() . Works well running on TPUs

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

No branches or pull requests

2 participants