Skip to content

bitsandbytes: Add version 0.50.2 - #2094

Open
luhenry wants to merge 2 commits into
mainfrom
bitsandbytes
Open

luhenry wants to merge 2 commits into
mainfrom
bitsandbytes

Conversation

@luhenry

@luhenry luhenry commented Sep 19, 2026

Copy link
Copy Markdown
Member

Compiles the CPU backend — libbitsandbytes_cpu.so from csrc/cpu_ops.cpp and csrc/pythonInterface.cpp, CMake's default COMPUTE_BACKEND=cpu. Upstream publishes no riscv64 wheel.

Mirrors upstream's python-package.yml build-cpu/build-wheels jobs and the CPU half of test-runner.yml.

Differs from upstream

  • CUDA/ROCm/XPU backends dropped — no riscv64 toolkit for any of them.
  • Retagged py3-none-manylinux_2_39_riscv64, not upstream's hand-set manylinux_2_24_<arch>.

Matrix: one cp312 build — the wheel is py3-none, so it serves every interpreter.

Testing

  • same as upstream

License: Wheel bundles libgomp (GPL-3.0 with the GCC Runtime Library Exception), vendored by auditwheel.

luhenry pushed a commit that referenced this pull request Sep 19, 2026
luhenry added a commit that referenced this pull request Sep 19, 2026
luhenry added a commit that referenced this pull request Sep 19, 2026
PR #2094 (bitsandbytes) already claims 381 and 382.
bitsandbytes ships no riscv64 wheel. Build the CPU backend
(libbitsandbytes_cpu.so, CMake's default COMPUTE_BACKEND) in the
manylinux_2_39_riscv64 image and retag the result py3-none, the way
upstream's own build-wheels job does for every platform it publishes.
381: a GPU-first package whose CMake backend selector defaults to cpu is
not CUDA-blocked; the small end of the per-platform wheel sizes names the
backend riscv64 wants.

382: with no reachable riscv64 image or cross-toolchain, compile the
generic architecture path natively by renaming the arch macros in a
scratch copy -- -U__x86_64__ breaks glibc's own multilib headers.
@luhenry luhenry changed the title bitsandbytes: add riscv64 wheel build bitsandbytes: Add version 0.50.2 Sep 19, 2026
@github-actions

github-actions Bot commented Sep 19, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://riseproject-dev.github.io/python-wheels/pr-preview/pr-2094/

Built to branch gh-pages at 2026-09-19 10:42 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant