Provide AArch64 (ARM) Linux jaxlib wheels
See original GitHub issuePotentially related to https://github.com/google/jax/issues/6932 or https://github.com/google/jax/issues/7052.
I am using a heterogeneous cluster with various different compute options. I got Jax and Flax installed fine on the CPU system. Then I tried using a GPU node (specifically dual socket Cavium ThunderX2 99xx 32-core processors with two NVIDIA Tesla V100 GPUs), but am unable to install jaxlib:
$ pip install --upgrade jax jaxlib==0.1.68+cuda111 -f https://storage.googleapis.com/jax-releases/jax_releases.html
Looking in links: https://storage.googleapis.com/jax-releases/jax_releases.html
Requirement already satisfied: jax in /home/southworth/.conda/envs/jax_arch/lib/python3.7/site-packages (0.2.16)
ERROR: Could not find a version that satisfies the requirement jaxlib==0.1.68+cuda111 (from versions: none)
ERROR: No matching distribution found for jaxlib==0.1.68+cuda111
or even
pip install jaxlib
ERROR: Could not find a version that satisfies the requirement jaxlib (from versions: none)
ERROR: No matching distribution found for jaxlib
Below is my pip version, which is up to date. Pip also installs other libraries fine (numpy, scipy, etc.)
$ pip --version
pip 21.1.2 from /home/southworth/.conda/envs/jax_arch/lib/python3.7/site-packages/pip (python 3.7)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:10
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Building from source - JAX documentation
By default, the wheel is written to the dist/ subdirectory of the current directory. Building jaxlib from source with a modified TensorFlow repository.#....
Read more >Wheel support for linux aarch64 (#463) · Issues - cffi - Heptapod
Summary Installing cffi on aarch64 via pip using command "pip3 install cffi" tries to build wheel from source code.
Read more >How to install trax, jax, jaxlib on M1 Mac on macOS 12?
I recommend downloading arm64 wheels from the official CPython website. The executable will be in /usr/local/bin/python3 , and so will pip3 .
Read more >main - Anaconda repo
Package Latest Version Doc Dev License linux‑64 osx‑64 win‑64
7za 920 doc LGPL X
7zip 19.00 dev LGPL‑2.1‑or‑later X
_anaconda_depends 2022.05 doc dev BSD X X...
Read more >conda-forge - :: Anaconda.org
Package, Latest Version, Doc, Dev, License, linux-64, osx-64, win-64, noarch, Summary ... binutils_impl_linux-aarch64, 2.39, GPL-3.0-only, X, X, A set of ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
☝️ this indicates you’re running out of memory, especially since the 0.3.x release, you need pretty much the entire 16GB available.
I managed to build manylinux aarch64 wheels on M1, you can get them here: https://github.com/yoziru/jax/releases/tag/jaxlib-v0.3.5
Here is the Dockerfile for reproducing these wheels (run from the root of this repo after cloning):
I am glad to see there is some progress already on this task! I hope we get aarch64 wheels soon at https://storage.googleapis.com/jax-releases/jax_cuda_releases.html !