diff --git a/studio/frontend/src/features/settings/tabs/resources-tab.tsx b/studio/frontend/src/features/settings/tabs/resources-tab.tsx index 298d159cf9..776e643163 100644 --- a/studio/frontend/src/features/settings/tabs/resources-tab.tsx +++ b/studio/frontend/src/features/settings/tabs/resources-tab.tsx @@ -124,7 +124,9 @@ function MetricTile({ {percentKnown ? formatPercent(safePercent) : "--"} @@ -327,7 +329,9 @@ export function ResourcesTab() { const hasGpu = (displayedGpu?.available ?? false) && metrics.devices.length > 0; const backendLabel = ( - displayedGpu?.backend ?? systemInfo.device_backend ?? "cpu" + displayedGpu?.backend ?? + systemInfo.device_backend ?? + "cpu" ).toUpperCase(); const modelsFolderPath = hfCache ? hfCache.cacheHome @@ -487,7 +491,7 @@ export function ResourcesTab() { // as a page-wide rule, so the bar is sized to the row instead.
@@ -501,8 +505,10 @@ export function ResourcesTab() { })}, ${backendLabel}`}
-
-
+ {/* Narrow screens stack instead of hiding: the used, free and + total figures stay reachable on tablets and small laptops. */} +
+
{t("settings.resources.gpu.used", { value: usedText })} @@ -513,14 +519,17 @@ export function ResourcesTab() { {t("settings.resources.gpu.total", { value: totalText })}
- -
- {percentText} {t("settings.resources.gpu.vramUtilization")} +
+ +
+ {percentText}{" "} + {t("settings.resources.gpu.vramUtilization")} +