You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I started using bfloat16 in my JAX project, but the GitHub CI workflow began raising an Illegal instruction exception. Locally, I am using macOS 15 with an M2 Pro chip, and everything works perfectly. However, in the GitHub CI environment, the error occurs. I suspect the issue might be related to jnp.allclose. Interestingly, if I remove the line jax.config.update("jax_enable_x64", True), everything works correctly.
Can you paste the traceback here? (I appreciate the repro, but it doesn't repro locally for me and it would help to see the error text without having to go through the process of setting up a new github action!)
Thanks for the quick response. I cannot reproduce the error locally; I believe it is related to something with the virtual M1 processor and JAX-XLA. The Python does not provide a traceback in the error (I am not sure why). The example workflow run can be seen here. This workflow was worked with above code(did not import the library).
Description
Hello, I started using bfloat16 in my JAX project, but the GitHub CI workflow began raising an Illegal instruction exception. Locally, I am using macOS 15 with an M2 Pro chip, and everything works perfectly. However, in the GitHub CI environment, the error occurs. I suspect the issue might be related to jnp.allclose. Interestingly, if I remove the line jax.config.update("jax_enable_x64", True), everything works correctly.
The script:
The workflow:
Workflow output:
System info (python version, jaxlib version, accelerator, etc.)
jaxlib: 0.4.38
numpy: 2.2.1
python: 3.12.8 (v3.12.8:2dc476bcb91, Dec 3 2024, 14:43:19) [Clang 13.0.0 (clang-1300.0.29.30)]
device info: cpu-1, 1 local devices"
process_count: 1
platform: uname_result(system='Darwin', node='Mac-1736162455660.local', release='23.6.0', version='Darwin Kernel Version 23.6.0: Fri Nov 15 15:13:40 PST 2024; root:xnu-10063.141.1.702.7~1/RELEASE_ARM64_VMAPPLE', machine='arm64')
The text was updated successfully, but these errors were encountered: