Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
</details>
Expand Down
2 changes: 1 addition & 1 deletion install-rocm.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion update-rocm.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down