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

jnp fails after enable x64 with Apple M1 chip #21840

Closed
willcai7 opened this issue Jun 12, 2024 · 2 comments
Closed

jnp fails after enable x64 with Apple M1 chip #21840

willcai7 opened this issue Jun 12, 2024 · 2 comments
Labels
Apple GPU (Metal) plugin bug Something isn't working duplicate This issue or pull request already exists

Comments

@willcai7
Copy link

Description

Right now I'm using jax with M1 pro chip. I cannot use functions from jnp after enable int64. This is my source code.

import jax
print(jax.__version__)
jax.config.update('jax_enable_x64', True)
print(jax.numpy.arange(10).dtype)
from jax import numpy as jnp
print(jnp.eye(3))

System info (python version, jaxlib version, accelerator, etc.)

print(jax.version)
0.4.26

@willcai7 willcai7 added the bug Something isn't working label Jun 12, 2024
@jakevdp
Copy link
Collaborator

jakevdp commented Jun 13, 2024

Hi - thanks for the report. This is a known issue, tracked in #16435.

@jakevdp jakevdp added duplicate This issue or pull request already exists Apple GPU (Metal) plugin labels Jun 13, 2024
@willcai7
Copy link
Author

Thank you!

@superbobry superbobry closed this as not planned Won't fix, can't repro, duplicate, stale Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apple GPU (Metal) plugin bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants