[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-07-28 22:55:36 +00:00
commit aff62c8591

View file

@ -2032,9 +2032,7 @@ def _ensure_rocm_torch() -> None:
)
if not _bnb_installed:
_fallback_note = (
", which carries the ROCm 4-bit fix"
if _bnb_rocm_arch_has_binary()
else ""
", which carries the ROCm 4-bit fix" if _bnb_rocm_arch_has_binary() else ""
)
print(
_red(