Package Details: python-jaxlib 0.7.0-3

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/jax-ml/jax/
Keywords: deep-learning google jax machine-learning xla
Licenses: Apache-2.0
Groups: jax
Submitter: daskol
Maintainer: daskol
Last Packager: daskol
Votes: 8
Popularity: 0.019433
First Submitted: 2021-01-12 12:50 (UTC)
Last Updated: 2025-07-23 22:29 (UTC)

Latest Comments

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

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.

petronny commented on 2023-09-21 15:35 (UTC)

==> Starting prepare()...
patching file build/build.py
Hunk #1 FAILED at 552.
1 out of 1 hunk FAILED -- saving rejects to file build/build.py.rej
==> ERROR: A failure occurred in prepare().
    Aborting...

https://github.com/arch4edu/cactus/actions/runs/6261908604/job/17002950698

daskol commented on 2022-12-15 13:45 (UTC)

@carsme Thanks! Fixed package metadata.

carsme commented on 2022-12-15 12:41 (UTC) (edited on 2022-12-15 12:41 (UTC) by carsme)

This does not build. I think something is wrong with your .SRCINFO.

error: failed to parse srcinfo for 'python-jaxlib-0.3.25-1': pkgbase already set: Line 18: pkgbase = python-jaxlib