From 4a1ad8cfe73802ebe0356c26cf09e5d7aaa39e1b Mon Sep 17 00:00:00 2001 From: 0xDELUXA Date: Fri, 28 Aug 2026 01:09:55 +0300 Subject: [PATCH] Pin ROCm bitsandbytes wheel to 0.49.1 --- README.md | 2 +- install-rocm.bat | 2 +- update-rocm.bat | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index eccdb89a1..da65bf889 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ pip install -r requirements-rocm-windows.txt **bitsandbytes** (8-bit optimizers and NF4/weight quantization) — Python 3.12 only: ``` -pip install https://github.com/0xDELUXA/bitsandbytes_win_rocm/releases/download/0.50.0.dev0-py3-rocm7-win_amd64_all/bitsandbytes-0.50.0.dev0-cp312-cp312-win_amd64.whl +pip install https://github.com/0xDELUXA/bitsandbytes_win_rocm/releases/download/0.49.1-py3.12-rocm7.16-win_amd64_all/bitsandbytes-0.49.1-cp312-cp312-win_amd64.whl ``` If you are not using Python 3.12, skip this step — 8-bit optimizers and weight quantization will be unavailable. diff --git a/install-rocm.bat b/install-rocm.bat index 1de3a380b..f5d2d4d7d 100644 --- a/install-rocm.bat +++ b/install-rocm.bat @@ -13,7 +13,7 @@ set "VENV_DIR=%SCRIPT_DIR%\venv" set "VERSION_FILE=%SCRIPT_DIR%\scripts\util\version_check.py" set "GFX_DETECT=%SCRIPT_DIR%\scripts\util\detect_amd_gfx.py" set "ROCM_INDEX_URL=https://repo.amd.com/rocm/whl-multi-arch/" -set "BNB_WHEEL_URL=https://github.com/0xDELUXA/bitsandbytes_win_rocm/releases/download/0.50.0.dev0-py3.12-rocm7.15-win_amd64_all/bitsandbytes-0.50.0.dev0-cp312-cp312-win_amd64.whl" +set "BNB_WHEEL_URL=https://github.com/0xDELUXA/bitsandbytes_win_rocm/releases/download/0.49.1-py3.12-rocm7.16-win_amd64_all/bitsandbytes-0.49.1-cp312-cp312-win_amd64.whl" set "MIN_PY=3.11" & set "MAX_PY=3.14" goto :main diff --git a/update-rocm.bat b/update-rocm.bat index bcaa30d7c..918d5f532 100644 --- a/update-rocm.bat +++ b/update-rocm.bat @@ -242,7 +242,7 @@ set "PY_MINOR=" for /f "tokens=2 delims=." %%M in ("!PY_VER!") do set "PY_MINOR=%%M" if "!PY_MINOR!"=="12" ( echo %CYAN%Updating ROCm bitsandbytes wheel ^(Python 3.12^)...%RESET% - "%PYTHON%" -m pip install https://github.com/0xDELUXA/bitsandbytes_win_rocm/releases/download/0.50.0.dev0-py3.12-rocm7.15-win_amd64_all/bitsandbytes-0.50.0.dev0-cp312-cp312-win_amd64.whl + "%PYTHON%" -m pip install https://github.com/0xDELUXA/bitsandbytes_win_rocm/releases/download/0.49.1-py3.12-rocm7.16-win_amd64_all/bitsandbytes-0.49.1-cp312-cp312-win_amd64.whl if errorlevel 1 ( echo Error: bitsandbytes ROCm update failed. goto :end_error