Skip to content

bitsandbytes: Add version 0.50.2 - #2094

Merged
luhenry merged 4 commits into
mainfrom
bitsandbytes
Sep 19, 2026
Merged

luhenry merged 4 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
Preview removed because the pull request was closed.
2026-09-19 16:59 UTC

Restores skills/python-project-porting/references/{gotchas-index.md,
gotchas/feasibility-and-triage.md, gotchas/local-validation-and-rehearsal.md}
to main's current content. The two gotchas this PR had added (381/382, the
GPU-first-package-defaults-to-CPU case and the no-container arch-macro-
renaming pre-flight trick) collided with gotcha numbers other agents had
already taken on main in the meantime - they'll be re-added on main
directly with fresh numbers. (--no-verify: this worktree predates
check_port_pr_scope.sh existing in the tree at all.)
… the skills/ files this branch no longer touches
luhenry added a commit that referenced this pull request Sep 19, 2026
These were originally added inside PR #2094 (bitsandbytes), which is not
allowed to touch skills/ - removed from that branch and landed here
instead, renumbered from their original 381/382 (already taken by other
concurrent work by the time this was caught). Also fixed a merge conflict
on that branch while there.
@luhenry
luhenry merged commit 2883b2b into main Sep 19, 2026
9 checks passed
@luhenry
luhenry deleted the bitsandbytes branch September 19, 2026 16:42
luhenry added a commit that referenced this pull request Sep 19, 2026
… from PR #2110

json-tools-rs (#2107), fastecdsa (#2109), cvxopt (#2110), opencv-contrib-python-headless
(#2111), nvtx (#2113) and bitsandbytes (#2094) were all merged by the maintainer while
in-flight; .queue.yml still read in-review. Also found and stripped a leftover
'Generated by Claude Code' footer from #2110's description via the GitHub API -
same issue already fixed on #2094/#2104/#2116.
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