Skip to content

Fix: Pin OneTrainer ROCm bitsandbytes wheel to 0.49.1 - #1723

Merged
mohnjiles merged 1 commit into
LykosAI:mainfrom
0xDELUXA:onetrainer-bnb-0.50.2
Aug 29, 2026
Merged

Fix: Pin OneTrainer ROCm bitsandbytes wheel to 0.49.1#1723
mohnjiles merged 1 commit into
LykosAI:mainfrom
0xDELUXA:onetrainer-bnb-0.50.2

Conversation

@0xDELUXA

@0xDELUXA 0xDELUXA commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Fixes #1708.

Points OneTrainerWindowsRocmProfile at the 0.49.1 wheel built for HIP 7.13-7.16, replacing the 0.50.0.dev0.

The profile currently installs a 0.50 wheel, but OneTrainer pins bitsandbytes==0.49.1 and passes block_wise= and percentile_clipping= to every bnb optimizer. 0.50 removed both arguments, so any training run using AdamW8bit and friends dies at startup with a TypeError. Upstream OneTrainer is not moving to 0.50 for now (Nerogar/OneTrainer#1708 was closed), so matching the pin is the fix.

The wheel covers 27 gfx targets. Verified on Windows with HIP 7.16: 4-bit linear, 8-bit linear and an 8-bit optimizer step all run, and the version now matches OneTrainer's pin exactly so pip has nothing to resolve.

cc @NeuralFault

@github-actions

github-actions Bot commented Aug 27, 2026

Copy link
Copy Markdown

CLA Assistant Lite bot CLA Assistant bot All Contributors have signed the CLA.

@0xDELUXA

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@0xDELUXA
0xDELUXA force-pushed the onetrainer-bnb-0.50.2 branch from 5ddbf1b to 258270c Compare August 27, 2026 21:41
@0xDELUXA 0xDELUXA changed the title Bump OneTrainer ROCm bitsandbytes wheel to 0.50.2.dev0 Pin OneTrainer ROCm bitsandbytes wheel to 0.49.1 Aug 27, 2026
@0xDELUXA 0xDELUXA changed the title Pin OneTrainer ROCm bitsandbytes wheel to 0.49.1 Fix: Pin OneTrainer ROCm bitsandbytes wheel to 0.49.1 Aug 28, 2026
@NeuralFault

Copy link
Copy Markdown
Contributor

LGTM

@mohnjiles
mohnjiles merged commit 18d07b9 into LykosAI:main Aug 29, 2026
3 checks passed
@mohnjiles

Copy link
Copy Markdown
Member

Thank you!

@github-actions github-actions Bot locked and limited conversation to collaborators Aug 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OneTrainer Windows-ROCm profile installs bitsandbytes 0.50.0.dev0, which OneTrainer doesn't support yet — bnb 8-bit optimizers crash

4 participants