From 7d3de8b3172ccdc96fc83ed4d2c2c6fdb5aa6498 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 01:14:31 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- studio/backend/utils/hardware/hardware.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/studio/backend/utils/hardware/hardware.py b/studio/backend/utils/hardware/hardware.py index c4d6584e2b..1b990b6adf 100644 --- a/studio/backend/utils/hardware/hardware.py +++ b/studio/backend/utils/hardware/hardware.py @@ -126,9 +126,7 @@ def detect_hardware() -> DeviceType: if _hip_ver is not None or "rocm" in torch.__version__.lower(): IS_ROCM = True _hip_label = _hip_ver or torch.__version__ - print( - f"Hardware detected: ROCm (HIP {_hip_label}) -- {device_name}" - ) + print(f"Hardware detected: ROCm (HIP {_hip_label}) -- {device_name}") else: print(f"Hardware detected: CUDA -- {device_name}") return DEVICE