Search Criteria
Package Details: python-jaxlib 0.4.38-1
Package Actions
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.21 |
First Submitted: | 2021-01-12 12:50 (UTC) |
Last Updated: | 2024-12-26 19:33 (UTC) |
Dependencies (10)
- python-absl
- python-flatbuffers (python-flatbuffers-gitAUR)
- python-ml-dtypes
- python-numpy (python-numpy-gitAUR, python-numpy1AUR, python-numpy-mkl-binAUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR)
- python-scipy (python-scipy-gitAUR, python-scipy-mkl-binAUR, python-scipy-mkl-tbbAUR, python-scipy-mklAUR)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-wheel (make)
Required by (5)
- python-jax
- python-jax-bin
- python-safetensors (check)
- python-safetensors (optional)
- python-safetensors-bin (optional)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 Next › Last »
rekman commented on 2023-10-24 19:36 (UTC)
@daskol uggghhh....
daskol commented on 2023-10-24 19:32 (UTC)
@rekman Yes, it is. LLVM is transitive dependency via XLA and both XLA and LLVM are pinned by commit hashes. I tried to build with system's LLVM (bad idea).
daskol commented on 2023-10-24 19:30 (UTC)
@h3ss Indeed. @Henry-ZHR mentioned the issues regarding to
yay
. I consulted with some core packages andPKGBUILD
docs and it turns out thatprepare
andbuild
can be invoked separately in general. But some core packages ignore this rule sincemakepkg
in contrast toyay
runs all stages sequentially.rekman commented on 2023-10-24 19:20 (UTC)
Is it really necessary to build llvm from source to build this package?
h3ss commented on 2023-10-21 13:47 (UTC)
@daskol I believe I have found the root cause of the lingering errors that myself and others have reported.
From what I can tell, the
prepare
function in the PKGBUILD is either not consistently being run with AUR helpers, or it is being run separately from the build, such that the environment variables don't carry over. This function doesn't necessarily get run anyway, for example if somebody were to pass the--noextract
argument tomakepkg
it will not be run (and I see this being passed in the yay source code).Would you please try moving the
export JAXLIB_RELEASE=$pkgvar
into thebuild
function?To test this, I used
paru -U
in the package directory. Initially, before I moved the export from theprepare
to thebuild
function, this failed with the same error that was seen when updating from the AUR. After I moved the export, it built successfully with the same command.h3ss commented on 2023-10-21 04:05 (UTC) (edited on 2023-10-21 12:27 (UTC) by h3ss)
@daskol Every single time there's an update I have to manually do the install because of the error that @65a pointed out. It's pretty frustrating when these updates hit, and I watch it build for 15 minutes, only to have the perfectly fine .whl file get discarded, and have to start the build over again manually.
What's strange is I don't even have to modify the PKGBUILD, I just have to git clone and
makepkg -si
and it builds and installs fine. BUT, any attempt to install it using an AUR helper (I tried both Paru & Yay) fails with the error that people have been pointing out to you. Based on your previous comment, I also tried deleting the bazel cache (rm -rf ~/.cache/bazel/
) before trying an install and that didn't help.Can we please get a persistent reliable fix for this that works with AUR helpers like yay and paru?!
65a commented on 2023-10-16 21:10 (UTC) (edited on 2023-10-16 21:10 (UTC) by 65a)
I am still seeing this. Is there a packaging encapsulation leak or something that is preventing the new way from working?
daskol commented on 2023-10-08 19:23 (UTC)
@65a There is no issue anymore. The issue existed in transition from
0.4.15
to0.4.16
because JAX maintainers changed release and versioning machinery by addingJAXLIB_RELEASE
envvar to get release version. Nowpython-jaxlib
builds perfectly fine because I included corresponding envvar toPKGBIUILD
.65a commented on 2023-10-08 19:06 (UTC)
Any fix for this coming soon? I've had to build it locally lately to prevent package updates from burning CPU.
segin commented on 2023-10-06 10:31 (UTC)
Well, you've pushed 0.4.17 and didn't go to a release build, so clearly the dev build was the intended behavior. You had the opportunity to address it, and you didn't.
« First ‹ Previous 1 2 3 4 5 6 Next › Last »