Search Criteria
Package Details: python-bitsandbytes-git 0.44.1.11.g9264f02-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-bitsandbytes-git.git (read-only, click to copy) |
---|---|
Package Base: | python-bitsandbytes-git |
Description: | Lightweight wrapper around CUDA custom functions, in particular 8-bit optimizers, matrix multiplication (LLM.int8()), and quantization functions. |
Upstream URL: | https://github.com/TimDettmers/bitsandbytes |
Licenses: | MIT |
Conflicts: | python-bitsandbytes |
Provides: | python-bitsandbytes |
Submitter: | Premik |
Maintainer: | Premik |
Last Packager: | Premik |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2023-12-26 15:48 (UTC) |
Last Updated: | 2024-11-15 22:19 (UTC) |
Dependencies (12)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda11.4-versionedAUR, cuda12.0-versionedAUR)
- python (python37AUR)
- python-accelerateAUR
- python-einopsAUR
- python-lion-pytorchAUR
- python-pytorch (python-pytorch-cxx11abiAUR, python-pytorch-cxx11abi-optAUR, python-pytorch-cxx11abi-cudaAUR, python-pytorch-cxx11abi-opt-cudaAUR, python-pytorch-cxx11abi-rocmAUR, python-pytorch-cxx11abi-opt-rocmAUR, python-pytorch-cuda, python-pytorch-opt, python-pytorch-opt-cuda, python-pytorch-opt-rocm, python-pytorch-rocm)
- python-scipy (python-scipy-gitAUR, python-scipy-mkl-binAUR, python-scipy-mkl-tbbAUR, python-scipy-mklAUR)
- python-transformersAUR
- git (git-gitAUR, git-glAUR) (make)
- python-build (make)
- python-installer (make)
- python-pytest (check)
Required by (3)
- python-pytorch-lightning (requires python-bitsandbytes) (optional)
- python-transformers (requires python-bitsandbytes) (optional)
- python-trl (requires python-bitsandbytes) (optional)
Latest Comments
arzeth commented on 2025-07-22 14:35 (UTC) (edited on 2025-07-22 14:36 (UTC) by arzeth)
First of all,
python-scikit-build-core
must be added now tomakedepends=(...)
to avoidERROR Backend 'scikit_build_core.setuptools.build_meta' is not available.
after the compilation.And with the latest CUDA (12.9.0 and 12.9.1), there's now:
because of a bug in nvcc: https://github.com/NVIDIA/cccl/issues/4967
Solutions:
1) add
-DCOMPUTE_CAPABILITY="61;62;70;72;75;80;86;87;89;90;100;101;120;103;121"
to thecmake
line (I delisted the five earliest archs to avoid hitting the unintended limit of archs in nvcc).2) or fix nvcc itself:
arzeth commented on 2024-04-18 19:32 (UTC) (edited on 2024-04-18 21:36 (UTC) by arzeth)
I had to replace the
make
line with(
50;52;...
means compile code for each of the specified CUDA Capability versions, which can be found by running/opt/cuda/extras/demo_suite/deviceQuery
, e.g. GTX 1660 Super is 7.5)For non-CUDA users there are less args: