Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

fix: remove download count fallback when model param count is unavailable

imagineer994fe3772aa283
diff --git a/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx b/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx
index fc579dd32a1..80e9dd0b6b0 100644
--- a/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx
+++ b/studio/frontend/src/components/assistant-ui/model-selector/pickers.tsx
@@ -151,12 +151,9 @@ export function HubModelPicker({
const metricsById = useMemo(
() =>
new Map(
- results.map((result) => [
- result.id,
- result.totalParams
- ? formatCompact(result.totalParams)
- : `↓${formatCompact(result.downloads)}`,
- ]),
+ results
+ .filter((result) => result.totalParams)
+ .map((result) => [result.id, formatCompact(result.totalParams!)]),
),
[results],
);
@@ -167,11 +164,7 @@ export function HubModelPicker({
{ est: number; status: VramFitStatus | null; detail: string | null }
>();
for (const r of results) {
- const detail = r.totalParams
- ? formatCompact(r.totalParams)
- : r.downloads != null
- ? `↓${formatCompact(r.downloads)}`
- : null;
+ const detail = r.totalParams ? formatCompact(r.totalParams) : null;
if (r.totalParams) {
const est = estimateLoadingVram(r.totalParams, "qlora");
const status = gpu.available
diff --git a/studio/frontend/src/features/onboarding/components/steps/model-selection-step.tsx b/studio/frontend/src/features/onboarding/components/steps/model-selection-step.tsx
index ce506b6085f..747311c9a5c 100644
--- a/studio/frontend/src/features/onboarding/components/steps/model-selection-step.tsx
+++ b/studio/frontend/src/features/onboarding/components/steps/model-selection-step.tsx
@@ -244,10 +244,6 @@ export function ModelSelectionStep() {
<span className="text-xs text-muted-foreground shrink-0">
{sizeLabel}
</span>
- ) : r?.downloads != null ? (
- <span className="text-[10px] text-muted-foreground shrink-0">
- ↓{formatCompact(r.downloads)}
- </span>
) : null}
</ComboboxItem>
);
diff --git a/studio/frontend/src/features/studio/sections/model-section.tsx b/studio/frontend/src/features/studio/sections/model-section.tsx
index 2ba13d739ce..0c4a71a8c34 100644
--- a/studio/frontend/src/features/studio/sections/model-section.tsx
+++ b/studio/frontend/src/features/studio/sections/model-section.tsx
@@ -210,11 +210,7 @@ export function ModelSection() {
{ est: number; status: VramFitStatus | null; detail: string | null }
>();
for (const r of hfResults) {
- const detail = r.totalParams
- ? formatCompact(r.totalParams)
- : r.downloads != null
- ? `\u2193${formatCompact(r.downloads)}`
- : null;
+ const detail = r.totalParams ? formatCompact(r.totalParams) : null;
if (r.totalParams) {
const est = estimateLoadingVram(r.totalParams, method);
const status = gpu.available