Merge branch 'fix/main-amd-bnb-floor' into fix/main-extras-guard

This commit is contained in:
LeoBorcherding 2026-07-28 13:48:46 -05:00
commit d1c6b657e3

View file

@ -1224,8 +1224,9 @@ intel = [
]
amd = [
"unsloth[huggingfacenotorch]",
# bnb <= 0.49.2 NaNs at decode shape on every AMD GPU; the ROCm 4-bit GEMV
# fix (bnb PR #1887) first ships in 0.50.0, which is now on PyPI.
# 4-bit decode is unreliable on ROCm before 0.50.0, the first PyPI release
# carrying the full path: blocksize/warp decoupling (bnb #1887), fused SIMT
# GEMM on RDNA (#1979), RDNA3/4 workgroup fix (#2012).
"bitsandbytes>=0.50.0 ; ('linux' in sys_platform) and (platform_machine == 'AMD64' or platform_machine == 'x86_64' or platform_machine == 'aarch64')",
"bitsandbytes>=0.50.0 ; (sys_platform == 'win32') and (platform_machine == 'AMD64' or platform_machine == 'x86_64')",
]