Skip to content

Pin ROCm bitsandbytes wheel to 0.49.1 - #2

Merged
NeuralFault merged 1 commit into
NeuralFault:masterfrom
0xDELUXA:bnb-0.49.1-wheel
Aug 28, 2026
Merged

NeuralFault merged 1 commit into
NeuralFault:masterfrom
0xDELUXA:bnb-0.49.1-wheel

Conversation

@0xDELUXA

@0xDELUXA 0xDELUXA commented Aug 27, 2026 •

Copy link
Copy Markdown

The Windows ROCm scripts install bitsandbytes 0.50.0.dev0, but requirements-cuda.txt pins bitsandbytes==0.49.1 and create.py passes block_wise= and percentile_clipping= to every bnb optimizer. 0.50 removed both arguments, so AdamW8bit and the other bnb optimizers raise TypeError at training startup.

This points install-rocm.bat, update-rocm.bat and the README.md at the 0.49.1 build of the same ROCm Windows wheel, which matches the pin exactly. It covers HIP 7.13 through 7.16 and the same architectures as the 0.50 wheels. Verified on Windows with HIP 7.16: 4-bit linear, 8-bit linear and an 8-bit optimizer step all run.

The same change is proposed for the StabilityMatrix profile in LykosAI/StabilityMatrix#1723.

@NeuralFault

Copy link
Copy Markdown
Owner

Thank you!

@NeuralFault
NeuralFault merged commit c710056 into NeuralFault:master Aug 28, 2026
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.

2 participants