Package Details: python-jaxlib 0.4.35-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/jax-ml/jax/
Keywords: deep-learning google jax machine-learning xla
Licenses: Apache
Groups: jax
Submitter: daskol
Maintainer: daskol
Last Packager: daskol
Votes: 7
Popularity: 0.52
First Submitted: 2021-01-12 12:50 (UTC)
Last Updated: 2024-10-23 00:00 (UTC)

Latest Comments

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

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

carlosal1015 commented on 2022-09-02 02:05 (UTC)

Since June 27, 2022, python-flatbuffers is not a dependency anymore.

Universebenzene commented on 2022-08-07 05:26 (UTC) (edited on 2022-08-12 09:52 (UTC) by Universebenzene)

Run makepkg failed. Problem isn't solved after the 0.3.15 upgrade.

I know nothing about bazel. Can anybody help me?

     _   _  __  __
    | | / \ \ \/ /
 _  | |/ _ \ \  /
| |_| / ___ \/  \
 \___/_/   \/_/\_\


Downloading bazel from: https://github.com/bazelbuild/bazel/releases/download/5.1.1/bazel-5.1.1-linux-x86_64
bazel-5.1.1-linux-x86_64 [########################################] 100%
Bazel binary path: ./bazel-5.1.1-linux-x86_64
Bazel version: 5.1.1
Python binary path: /usr/bin/python
Python version: 3.10
NumPy version: 1.23.1
MKL-DNN enabled: yes
Target CPU: x86_64
Target CPU features: native
CUDA enabled: no
TPU enabled: no
Remote TPU enabled: no
ROCm enabled: no

Building XLA and installing it in the jaxlib source tree...
./bazel-5.1.1-linux-x86_64 run --verbose_failures=true --config=native_arch_posix --config=mkl_open_source_only :build_wheel -- --output_path=/home/benzene/Documents/python-jaxlib/src/jax/dist --cpu=x86_64
Starting local Bazel server and connecting to it...
WARNING: ignoring LD_PRELOAD in environment.
... still trying to connect to local Bazel server after 10 seconds ...
... still trying to connect to local Bazel server after 30 seconds ...
... still trying to connect to local Bazel server after 50 seconds ...
... still trying to connect to local Bazel server after 70 seconds ...
... still trying to connect to local Bazel server after 92 seconds ...
... still trying to connect to local Bazel server after 112 seconds ...
FATAL: couldn't connect to server (4038370) after 120 seconds.
b''
Traceback (most recent call last):
  File "/home/benzene/Documents/python-jaxlib/src/jax/build/build.py", line 535, in <module>
    main()
  File "/home/benzene/Documents/python-jaxlib/src/jax/build/build.py", line 530, in main
    shell(command)
  File "/home/benzene/Documents/python-jaxlib/src/jax/build/build.py", line 53, in shell
    output = subprocess.check_output(cmd)
  File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.10/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['./bazel-5.1.1-linux-x86_64', 'run', '--verbose_failures=true', '--config=native_arch_posix', '--config=mkl_open_source_only', ':build_wheel', '--', '--output_path=/home/benzene/Documents/python-jaxlib/src/jax/dist', '--cpu=x86_64']' returned non-zero exit status 37.