From 3b66784f2269b180a7eb12f4507ba6e274d36f42 Mon Sep 17 00:00:00 2001 From: Ilker Manap Date: Sun, 4 Oct 2026 01:09:05 +0200 Subject: [PATCH] Name each file by its quantisation first in the console's plan Co-Authored-By: Claude Opus 5.5 (1M context) --- internal/cli/tui_hf.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/internal/cli/tui_hf.go b/internal/cli/tui_hf.go index 06d8e7c..a555365 100644 --- a/internal/cli/tui_hf.go +++ b/internal/cli/tui_hf.go @@ -140,7 +140,13 @@ func (m consoleModel) repoMenu(p modelserve.Plan) *menuDialog { if a.Format == "safetensors" { name = "original weights" } - label := fmt.Sprintf("%-40s %8s ", truncate(name, 40), bytesShort(a.Bytes)) + // The quantisation first: long names end in it, and it is what + // tells one file of a repository from the next. + q := a.Quant + if a.Shards > 1 && a.Format == "gguf" { + q += fmt.Sprintf(" ×%d", a.Shards) + } + label := fmt.Sprintf("%-10s %-30s %8s ", q, truncate(name, 30), bytesShort(a.Bytes)) switch { case a.Best == nil: label += sBad.Render("fits nowhere")