Package Details: python-jaxlib 0.4.26-1

Git Clone URL: https://aur.archlinux.org/python-jaxlib.git (read-only, click to copy)
Package Base: python-jaxlib
Description: XLA library for JAX
Upstream URL: https://github.com/google/jax/
Keywords: deep-learning google jax machine-learning xla
Licenses: Apache
Groups: jax
Submitter: daskol
Maintainer: daskol
Last Packager: daskol
Votes: 5
Popularity: 0.022869
First Submitted: 2021-01-12 12:50 (UTC)
Last Updated: 2024-04-03 23:32 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

h3ss commented on 2023-09-24 12:58 (UTC)

Thanks @daskol! That did the trick, now it builds the wheel as src/jax-jaxlib-v0.4.16/dist/jaxlib-0.4.16-cp311-cp311-manylinux2014_x86_64.whl and makepkg can find it.

Not sure why, but even a cleanbuild with yay wasn't enough, I had to clone from AUR and makepkg -si manually, but when I did it worked just fine.

daskol commented on 2023-09-23 13:25 (UTC)

@h3ss Finally, I've fixed the issue. There was a typo in JAXLIB_RELEASE envvar. 😔

h3ss commented on 2023-09-23 02:51 (UTC) (edited on 2023-09-23 02:53 (UTC) by h3ss)

@daskol

I tried flushing the cache, building with a different AUR helper (yay vs paru) and also doing a git clone from the AUR and makepkg -si, the transcript of which you can see here:

https://pastebin.com/EesEmx94

In all circumstances, I get the same error. This goes for the python-jaxlib-cuda package as well. To be clear, the wheel does build successfully, it just doesn't finish making the package because the file name of the wheel doesn't match what makepkg expects it to be.

Could you clarify what the expected wheel file name is? What is the wheel file name when you build it in your environment?

daskol commented on 2023-09-22 16:07 (UTC)

@h3ss BTW I'm not sure but still. Have you tried to flush build cache? I'll try to build from scratch once again after a while.

h3ss commented on 2023-09-22 15:14 (UTC)

@daskol I'm sorry to report that I'm still encountering the same issue. The wheel file created is:

Output wheel: /home/john/.cache/paru/clone/python-jaxlib/src/jax-jaxlib-v0.4.16/dist/jaxlib-0.4.16.dev20230922-cp311-cp311-manylinux2014_x86_64.whl

But the PKGBUILD is looking for jaxlib-0.4.16-*.whl:

FileNotFoundError: [Errno 2] No such file or directory: '/home/john/.cache/paru/clone/python-jaxlib/src/jax-jaxlib-v0.4.16/dist/jaxlib-0.4.16-*.whl'

daskol commented on 2023-09-22 10:36 (UTC) (edited on 2023-09-22 10:44 (UTC) by daskol)

@toyan @h3ss Fixed and tested in clean room. Somehow envvars leaked in build time.

h3ss commented on 2023-09-22 04:21 (UTC)

@daskol I was getting the same error as @toyan, even with the latest build. Error was:

FileNotFoundError: [Errno 2] No such file or directory: '/home/john/.cache/paru/clone/python-jaxlib/src/jax-jaxlib-v0.4.16/dist/jaxlib-0.4.16-*.whl'

This error occurs because of the - that @toyan recommended deleting. The filename created has a . instead:

Output wheel: /home/john/.cache/paru/clone/python-jaxlib/src/jax-jaxlib-v0.4.16/dist/jaxlib-0.4.16.dev20230921-cp311-cp311-manylinux2014_x86_64.whl

To install the newly-built jaxlib wheel, run:
  pip install /home/john/.cache/paru/clone/python-jaxlib/src/jax-jaxlib-v0.4.16/dist/jaxlib-0.4.16.dev20230921-cp311-cp311-manylinux2014_x86_64.whl --force-reinstall

I was able to install by editing the PKGBUILD as @toyan described.

daskol commented on 2023-09-21 21:48 (UTC)

@toyan Try one more time. I've added this envvar in order to override release version for out of VCS tree builds.

export JAXLIB_VERSION=$pkgver

toyan commented on 2023-09-21 21:46 (UTC) (edited on 2023-09-21 21:51 (UTC) by toyan)

ERROR: A failure occurred in package(). Aborting...

To fix: replace $srcdir/jax-jaxlib-v$pkgver/dist/jaxlib-$pkgver-*.whl with $srcdir/jax-jaxlib-v$pkgver/dist/jaxlib-$pkgver*.whl

daskol commented on 2023-09-21 16:23 (UTC)

@petronny Fixed.