sci-ml/bitsandbytes
k-bit quantization (QLoRA) and 8-bit optimizers for PyTorch
-
bitsandbytes-0.49.2~amd64rocm python_single_target_python3_12 python_single_target_python3_13 debug +amdgpu_targets_gfx908 +amdgpu_targets_gfx90a +amdgpu_targets_gfx942 +amdgpu_targets_gfx1030 +amdgpu_targets_gfx1100 +amdgpu_targets_gfx1101 +amdgpu_targets_gfx1200 +amdgpu_targets_gfx1201 amdgpu_targets_gfx803 amdgpu_targets_gfx900 amdgpu_targets_gfx906 amdgpu_targets_gfx940 amdgpu_targets_gfx941 amdgpu_targets_gfx1010 amdgpu_targets_gfx1011 amdgpu_targets_gfx1012 amdgpu_targets_gfx1031 amdgpu_targets_gfx1102 amdgpu_targets_gfx1103 amdgpu_targets_gfx1150 amdgpu_targets_gfx1151
View
Download
Browse License: MIT Overlay: stuff
ChangeLog
commit 0f5e06ebaaa049de379b0040fa0c54151787e2d9
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sun Jul 5 14:42:10 2026 +0200
sci-ml/bitsandbytes: condense the build-backend comments
commit 561af98ec6b5e1cb3f5a8827cf36412bdfd25513
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Jul 4 13:18:44 2026 +0200
sci-ml/bitsandbytes: new package, add 0.49.2
k-bit quantization (QLoRA) and 8-bit optimizers for PyTorch — the load-bearing
enabler for the LlamaFactory fine-tuning cluster. Default COMPUTE_BACKEND=cpu;
USE=rocm builds the HIP backend. Both the CPU backend (build+import) and the
ROCm backend (build, HIP Targets gfx1150 via AMDGPU_TARGETS -> libbitsandbytes_
rocm72.so) are verified here.
Upstream drives CMake from setup.py's build_cmake via the scikit-build-core
setuptools shim (wheel.cmake=false; the CMakeLists has no install() rule and
emits libbitsandbytes_<backend>.so straight into the package dir), so the
ebuild uses DISTUTILS_USE_PEP517=standalone rather than the eclass's
scikit-build-core value; the ROCm backend is selected via CMAKE_ARGS.
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sun Jul 5 14:42:10 2026 +0200
sci-ml/bitsandbytes: condense the build-backend comments
commit 561af98ec6b5e1cb3f5a8827cf36412bdfd25513
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat Jul 4 13:18:44 2026 +0200
sci-ml/bitsandbytes: new package, add 0.49.2
k-bit quantization (QLoRA) and 8-bit optimizers for PyTorch — the load-bearing
enabler for the LlamaFactory fine-tuning cluster. Default COMPUTE_BACKEND=cpu;
USE=rocm builds the HIP backend. Both the CPU backend (build+import) and the
ROCm backend (build, HIP Targets gfx1150 via AMDGPU_TARGETS -> libbitsandbytes_
rocm72.so) are verified here.
Upstream drives CMake from setup.py's build_cmake via the scikit-build-core
setuptools shim (wheel.cmake=false; the CMakeLists has no install() rule and
emits libbitsandbytes_<backend>.so straight into the package dir), so the
ebuild uses DISTUTILS_USE_PEP517=standalone rather than the eclass's
scikit-build-core value; the ROCm backend is selected via CMAKE_ARGS.

