Search Criteria
Package Details: python-jaxlib 0.9.0-3
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-2.0 |
| Groups: | jax |
| Submitter: | daskol |
| Maintainer: | daskol |
| Last Packager: | daskol |
| Votes: | 8 |
| Popularity: | 0.000294 |
| First Submitted: | 2021-01-12 12:50 (UTC) |
| Last Updated: | 2026-02-17 14:51 (UTC) |
Dependencies (9)
- python-ml-dtypes
- python-numpy (python-numpy-gitAUR, python-numpy-mkl-binAUR, python-numpy1AUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR)
- python-scipy (python-scipy-gitAUR, python-scipy-mkl-binAUR, python-scipy-mkl-tbbAUR, python-scipy-mklAUR)
- clang20 (make)
- python-build (make)
- python-installer (make)
- python-setuptools (make)
- python-wheel (make)
- xxd (vim-minimal-gitAUR, gvim-gitAUR, vim-cli-gitAUR, vim-classic-gitAUR, gvim-classic-gitAUR, gvim-gtk2AUR, gvim, tinyxxd, vim) (make)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »
daskol commented on 2023-10-01 16:05 (UTC) (edited on 2023-10-01 16:06 (UTC) by daskol)
@segin It is not a fix. https://aur.archlinux.org/packages/python-jaxlib#comment-935718
It is not just dash or dot. The issue is that that package version should be release build
not a nightly build like this.
segin commented on 2023-10-01 15:14 (UTC) (edited on 2023-10-01 15:15 (UTC) by segin)
@daskol It's a fix. Trust me. Apply it and watch the magic work.
Between "0.4.16" and "dev...", you're using a - when the actual real file on disk will have a . in that place.
Line 38 (excerpted) on the PKGBUILD has "jaxlib-$pkgver-.whl" - instead here do "jaxlib-$pkgver..whl"
Why?
FileNotFoundError: [Errno 2] No such file or directory: '/home/segin/.cache/yay/python-jaxlib/src/jax-jaxlib-v0.4.16/dist/jaxlib-0.4.16-*.whl'Because the actual file on disk doesn't have a
-after the16, it has a.:Literally the issue is a malformed wildcard. I change that one single
-to a.and look,lsfinds the file!daskol commented on 2023-09-26 15:03 (UTC)
@segin No, it is not fix. In this case
jax.version.__version__is not$pkgver. Initial intent was to catch dirty releases since lately many packagers ranging from huggingface to google changes release pipelines, way how to version is assigned to package, or makes unfortunate mistakes. If release version is$pkgverthen the package must expose the same version$pkgverconsistently.segin commented on 2023-09-26 14:53 (UTC) (edited on 2023-09-26 14:54 (UTC) by segin)
Here's a ONE CHARACTER fix for this bug:
Replace the dash (-) between the package version and the wildcard with a period (.)
In my case, the generated wheel filename is jaxlib-0.4.16.dev20230926-cp311-cp311-manylinux2014_x86_64.whl but the wildcard is trying for jaxlib-0.4.16-*.whl
Right there in the wildcard after the 16 is a - when it should be a .
There, fixed by changing one single byte in the PKGBUILD.
daskol commented on 2023-09-24 13:03 (UTC)
@h3ss I see. I guess the issue is that
jaxlibis built withbazel. Its build directory actually is in~/.cache/bazeland it is not cleans withmakepkg -C. I'll try to move~/.cache/bazelin$srcdirin the future.h3ss commented on 2023-09-24 12:58 (UTC)
Thanks @daskol! That did the trick, now it builds the wheel as
src/jax-jaxlib-v0.4.16/dist/jaxlib-0.4.16-cp311-cp311-manylinux2014_x86_64.whland makepkg can find it.Not sure why, but even a cleanbuild with yay wasn't enough, I had to clone from AUR and
makepkg -simanually, but when I did it worked just fine.daskol commented on 2023-09-23 13:25 (UTC)
@h3ss Finally, I've fixed the issue. There was a typo in
JAXLIB_RELEASEenvvar. 😔h3ss commented on 2023-09-23 02:51 (UTC) (edited on 2023-09-23 02:53 (UTC) by h3ss)
@daskol
I tried flushing the cache, building with a different AUR helper (yay vs paru) and also doing a git clone from the AUR and makepkg -si, the transcript of which you can see here:
https://pastebin.com/EesEmx94
In all circumstances, I get the same error. This goes for the python-jaxlib-cuda package as well. To be clear, the wheel does build successfully, it just doesn't finish making the package because the file name of the wheel doesn't match what makepkg expects it to be.
Could you clarify what the expected wheel file name is? What is the wheel file name when you build it in your environment?
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.
« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »