Package Details: python-jaxlib 0.4.30-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: 6
Popularity: 0.38
First Submitted: 2021-01-12 12:50 (UTC)
Last Updated: 2024-06-19 07:50 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

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.

gatsby commented on 2023-12-16 21:46 (UTC)

@daskol That worked!

After a day of compilation I had to extend the swap with a file, and, after another day of compilation I verified it.

Thank you sir

daskol commented on 2023-12-13 14:40 (UTC) (edited on 2023-12-13 14:42 (UTC) by daskol)

@gatsby I see. I guess the issue is that AVX is a target architecture by default (in release configuration). Try to this patch.

diff --git a/PKGBUILD b/PKGBUILD
index 1a82d32..10509f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,7 +24,7 @@ build() {
         --bazel_startup_options="--output_user_root=$srcdir/bazel"\
         --bazel_options='--action_env=JAXLIB_RELEASE' \
         --noenable_cuda \
-        --target_cpu_features release
+        --target_cpu_features=native
 }

 package() {

Your machine is pretty oldie indeed. :)

FYI The issue is that protoc is shipped with jax sources and is built from sources. With targeting newer hardware protoc fails to run.