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.66
First Submitted: 2021-01-12 12:50 (UTC)
Last Updated: 2024-10-23 00:00 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

xuiqzy commented on 2024-11-14 02:43 (UTC)

Part of build output is this error: WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/openxla/xla/archive/76da730179313b3bebad6dea6861768421b7358c.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found But then it just continues seemingly normally.

Strykar commented on 2024-08-20 15:08 (UTC)

Same issue with python-jaxlib-cuda:

==> Making package: python-jaxlib 0.4.31-1 (Tue 20 Aug 2024 08:34:59 PM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found jaxlib-0.4.31.tar.gz
==> Validating source files with sha256sums...
    jaxlib-0.4.31.tar.gz ... Passed
==> Extracting sources...
  -> Extracting jaxlib-0.4.31.tar.gz with bsdtar
==> Starting build()...

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


Downloading bazel from: https://github.com/bazelbuild/bazel/releases/download/6.5.0/bazel-6.5.0-linux-x86_64
bazel-6.5.0-linux-x86_64 [########################################] 100%
Bazel binary path: ./bazel-6.5.0-linux-x86_64
Bazel version: 6.5.0
Python binary path: /usr/bin/python
Python version: 3.12
Use clang: no
MKL-DNN enabled: yes
Target CPU: x86_64
Target CPU features: release
CUDA enabled: no
ROCm enabled: no

Building XLA and installing it in the jaxlib source tree...
./bazel-6.5.0-linux-x86_64 --output_user_root=/tmp/makepkg/python-jaxlib/src/bazel run --verbose_failures=true --action_env=JAXLIB_RELEASE //jaxlib/tools:build_wheel -- --output_path=/tmp/makepkg/python-jaxlib/src/jax-jaxlib-v0.4.31/dist --jaxlib_git_hash= --cpu=x86_64
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
... still trying to connect to local Bazel server (898798) after 20 seconds ...
... still trying to connect to local Bazel server (898798) after 40 seconds ...
... still trying to connect to local Bazel server (898798) after 60 seconds ...
... still trying to connect to local Bazel server (898798) after 80 seconds ...
... still trying to connect to local Bazel server (898798) after 100 seconds ...
FATAL: couldn't connect to server (898798) after 120 seconds.
Traceback (most recent call last):
  File "/tmp/makepkg/python-jaxlib/src/jax-jaxlib-v0.4.31/build/build.py", line 749, in <module>
    main()
  File "/tmp/makepkg/python-jaxlib/src/jax-jaxlib-v0.4.31/build/build.py", line 700, in main
    shell(build_cpu_wheel_command)
  File "/tmp/makepkg/python-jaxlib/src/jax-jaxlib-v0.4.31/build/build.py", line 45, in shell
    output = subprocess.check_output(cmd)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['./bazel-6.5.0-linux-x86_64', '--output_user_root=/tmp/makepkg/python-jaxlib/src/bazel', 'run', '--verbose_failures=true', '--action_env=JAXLIB_RELEASE', '//jaxlib/tools:build_wheel', '--', '--output_path=/tmp/makepkg/python-jaxlib/src/jax-jaxlib-v0.4.31/dist', '--jaxlib_git_hash=', '--cpu=x86_64']' returned non-zero exit status 37.
==> ERROR: A failure occurred in build().
    Aborting...

hashworks commented on 2024-06-14 21:17 (UTC)

I pushed python-ml-dtypes 0.4.0, it should build now.

zxeoc commented on 2024-06-12 07:51 (UTC) (edited on 2024-06-15 00:55 (UTC) by zxeoc)

I got an error when updating:

error: could not find all required packages:
    python-ml-dtypes>=0.4.0 (wanted by: python-jaxlib)

There's only 0.3.2-2 version for python-ml-dtypes in the repo. What should I do?

Edit: python-ml-dtypes updated, problem solved.

jl2 commented on 2024-04-06 06:09 (UTC)

Hi, would it be possible to somehow add clang support either by default or with a condition to check $CC/$CXX? The relevant option is "--use_clang"

daskol commented on 2024-01-10 11:12 (UTC)

@alaskan_malamut Does this work around helpful for you? https://aur.archlinux.org/packages/python-jaxlib#comment-947684

petronny commented on 2024-01-10 05:00 (UTC)

Hi, in the PKGBUILD there is --target_cpu_feature but the option is actually --target_cpu_features.

carlosal1015 commented on 2024-01-06 22:59 (UTC) (edited on 2024-01-06 23:00 (UTC) by carlosal1015)

Maybe will be fix with this change in PKGBUILD for python-jaxlib.

alaskan_malamute commented on 2024-01-06 15:34 (UTC)

I get errors while compiling on Manjaro https://pastebin.com/eCeAuS06 I want to run it with https://huggingface.co/microsoft/speecht5_tts but I get error RuntimeError: This version of jaxlib was built using AVX instructions, which your CPU and/or operating system do not support. You may be able work around this issue by building jaxlib from source.

https://pastebin.com/QBRYkMU8

carlosal1015 commented on 2023-12-21 02:15 (UTC)

I think conflicts array should have python-jaxlib-cuda instead of own package.