Repository navigation
Description
Summary
When I pick a model in Studio's Model hub, it's hard to tell which quant will run on my machine, or how well. Studio does have fit badges in the quant dropdown, but they're easy to miss (see the previous version of this issue 😅), and on my unified-memory laptop they were wrong. Studio already detects my memory (the header shows "4 GiB VRAM + 116 GiB shared"), and Unsloth already publishes per-quant memory estimates in the docs. Making those visible and accurate in the UI would make choosing a model much easier, especially for people new to running models locally on laptops and other consumer hardware.
What happened
Discovered Unsloth via NVidia's Nemotron 3.5 announcement. Installed Studio and opened the Model hub. Picked NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-GGUF and hit 3 problems:
- The model card describes datacenter hardware. The card (taken from NVIDIA's original) lists deployment as "4× H100 or 2× GB200". That's the first hardware information a new user sees, and it suggests the model is out of reach for a laptop. Which kinda defeats the purpose of Unsloth.
- The fit guidance is hidden, and it was wrong for me. There are a dozen quants (UD-IQ1_M through Q8_0). Each has a small colored icon in the dropdown, but its meaning only shows on hover ("Full offload likely possible on your system"), so I didn't notice them at first. Nothing marks a recommended quant or says what I give up by going smaller. And on a 128 GB machine, Qwen3.8-27B showed 17 GB quants as green and everything from 18 GB up as red ("Does not fit"). Details below.
- The guidance exists, but somewhere else. The model guide has a good requirements table, with a minimum-memory estimate per quant and a recommended default (UD-Q4_K_XL). But its instructions say "download your desired model and quant". How would I choose the "desired quant"? I had to ask Claude :)
The units also trip people up: the docs list sizes in GB, while Studio and most Linux tools show GiB, so the "same" file shows up as 86.9 in one place and 80.9 in another.
Why the badges were off (as far as we could tell)
Claude dug into the bundled frontend. The fit rule (in settings-*.js) is roughly:
- estimated need = file size in GiB × 1.15 + 1
- green if need ≤ GPU memory × VRAM Budget (97% by default)
- amber if need ≤ 100% of GPU memory
- blue ("partial offload, slower") if need ≤ budget + half of system RAM
- otherwise red
For an 18 GB quant to be red, the GPU budget must have been about 20 GB with almost no system RAM counted. Another local model server was holding ~100 GB when Studio started, so our guess is that the badges used free memory captured at that moment and never refreshed. Studio's own detection now reports the GPU correctly (120 GB total, 118 GB free, unified_memory: true), so this may only happen when memory is busy at startup.
Two things look off even with correct numbers, specifically on unified memory (Strix Halo, Apple Silicon, DGX Spark):
- Blue counts the same memory twice. On an APU, "GPU memory" and "system RAM" are the same physical pool, so adding half of system RAM on top of it overstates what fits. If the rule uses total RAM, Nemotron Q8_0 (132 GB) would show as "works with offloading" on a 128 GB laptop, where it can't load at all.
- Amber goes right up to 100% of memory. Nemotron Q5 (111 GB) would be amber on this machine. On a unified-memory machine that leaves nothing for the OS and other apps. I had a local model sitting at that level and the kernel OOM-killed my editor.
Suggestions (from Claude):
- Make the badges visible: show the label as text ("Fits", "Tight", "Won't fit") next to each quant, not only as a hover tooltip on an icon, and show it in the Model hub list too.
- Pre-select a recommended quant: the best-quality one that fits comfortably, which for most models will be UD-Q4_K_XL on a machine with enough memory.
- Treat unified memory as one pool: budget against total memory minus a reserve for the OS and apps, without adding system RAM on top.
- Refresh the fit when memory changes, or base it on total memory, so a busy moment at startup doesn't leave every quant red.
- Explain the trade-off in plain words, e.g. "smaller = less memory, slightly lower answer quality", or a simple 1–5 quality indicator instead of technical metrics.
- Show the expected memory at the chosen context length, since context size changes the total, and warn when it would leave too little for the rest of the system.
- Put Unsloth's own hardware summary above the upstream model card, or at least next to it, so the first hardware line people see is relevant to GGUF users.
A rough speed estimate (e.g. "about N tokens/s on this machine", based on active parameters and memory bandwidth) would be a nice extra.
Environment
- Unsloth 2026.10.6 (Studio via install.sh, in an Ubuntu 24.04 distrobox on Bazzite; llama.cpp with the Vulkan backend)
- ASUS ROG Flow Z13, AMD Strix Halo (Radeon 8060S), 128 GB unified memory
Thanks!
Activity
[-][Feature] Studio: show which quants fit my hardware when picking a model[/-][+][Feature] Studio: make quant fit badges visible and accurate on unified-memory laptops[/+]YogeshSeeni commentedon Nov 6, 2026
I looked at this on current main to see what is left. The recommended quant (#15848), the Apple unified-memory budget (#14598) and the lighter polling (#14592) have landed since this was filed. One part is still open and is pure data flow, so I picked it up:
That is what happens today. The Hub page reads
useInferenceGpuInfo(), which serves the cached/api/systemsnapshot and then only listens for updates. Nothing underfeatures/hub/ever requests a fresh memory reading, so the free-memory inputs behind the badges (systemRamGb, and on Macs the Metal load budget that also picks the preselected quant) stay at whatever was read last, unless the floating monitor happens to be open and polling. The chat picker already asks for a fresh reading (fetchSystemInfo({ refreshMemory: true })) before it prices a model; the Hub never did.PR coming up: the Hub download card takes one fresh reading when a GGUF model is opened, throttled to the backend's own 10 s GPU-cache window and shared between concurrent callers, so flipping through models does not hammer the GPU query. No UI change. The visible-label and context-length suggestions here are untouched.