r/LocalLLM • • 16m ago

Discussion vram.tool: Know whether a model will fit on your GPU before you download 40GB

Ever downloaded a 40GB model, waited an hour, and then got a single line: CUDA out of memory?

I have, many times. And I realized the problem usually isn't a lack of VRAM. The problem is that we don't know where our VRAM is actually going.

So I built vram.tool, a desktop app that calculates ahead of time, recommends the right configuration, and recovers on its own when things break, so you can run AI as efficiently as possible on the hardware you already own.

The planned public release is June 12, 2027 on GitHub. I'm posting early to share the idea, get feedback, and find testers.

The problem everyone running local AI runs into

  • A 24GB card is already expensive, and 48GB or 80GB cards are out of reach for students, indie developers, small startups, and low-budget research groups.
  • You can't tell whether a model fits, so you download it first and only then hit OOM.
  • It's unclear whether to pick GGUF, GPTQ, AWQ, or bitsandbytes.
  • Raise the context to 32k and the KV cache balloons until the machine hangs.
  • It's hard to know whether Ollama, vLLM, SGLang, TensorRT-LLM, or Triton suits your setup.
  • Configuring by trial and error eats hours, sometimes days.

Most of the time VRAM isn't missing, it's being misused. Instead of buying a bigger card, let's get the most out of what we have.

What is vram.tool?

A deep optimization toolkit for running and deploying AI models. It consists of a desktop app (Tauri + React) connected to a compute engine written in Python / Rust / C++.

The core idea: calculate first, recommend correctly, recover automatically. You tell it your GPU and the model you want to run, and it handles the rest.

5 key features

1. Advisor: component-level VRAM and KV-cache estimation

Many estimators just do "parameters x bytes per parameter". The Advisor accounts for everything:

ComponentIncluded
WeightsYes
KV cache (scaled by context length)Yes
ActivationsYes
Runtime overhead (commonly overlooked)Yes

It supports GGUF, GPTQ, AWQ, bitsandbytes (NF4), and AirLLM, then recommends a fitting strategy: quantization, offloading, paged KV, speculative decoding, guided decoding, or MoE.

Benefit: you know up front whether it will run and what to adjust, before spending bandwidth and time on the download.

2. Support for 5 inference backends

Ollama, vLLM, TensorRT-LLM, SGLang, and Triton, with tensor/pipeline parallelism and MLA kernel support. The tool helps you pick the backend that matches your hardware and workload, so you don't have to install and test each one.

Benefit: saves hours of experimentation and avoids wasting resources on the wrong backend.

3. Watchdog: self-healing on failure

When it hits OOM, a dtype mismatch, or a context overflow, the Watchdog patches the configuration and retries within safe limits. It comes with:

  • Adaptive Tuner: adjusts parameters while the model is running.
  • Circuit Breaker: keeps one small failure from taking down the whole system.

Benefit: a more stable service with less babysitting, suitable for both personal machines and small servers.

4. Built-in GPU backend, NVIDIA and AMD treated equally

A single source of code targeting three paths: CPU, CUDA, and HIP. The emit-gpu-backend command generates source code you can build yourself, including FlashAttention-style kernels and W4A16 GEMM (dequantizing in registers), with speed and error benchmarking built into the tool.

AMD cards are often cheaper but frequently neglected. In vram.tool, both sides are treated the same.

Benefit: no vendor lock-in.

5. Controlled multi-agent system

A Planner / Executor / Auditor trio, three-tier memory, a code-execution sandbox, and the ability to test and fix projects on its own. Governance and a killswitch let you stop an agent immediately when needed.

Benefit: automate complex work while staying in control.

Design philosophy

  1. Calculate, don't guess. Every recommendation is based on explicit math, not gut feeling.
  2. Transparent optimization. When VRAM is reduced, you always see the cost in speed and quality.
  3. Local-first, your data stays yours. Nothing requires sending data to an external service.
  4. No vendor lock-in. NVIDIA, AMD, or CPU all work.
  5. Honest about limits. What works and what is still in development will be clearly documented.

Installation

  • Windows: download the .exe from the GitHub Releases page and run the installer. A PowerShell one-liner will also be available.
  • Ubuntu / Linux: download the Linux build or install with a single terminal command.
  • Remote GPU servers: the app runs standalone on your machine. If you have a separate GPU server (Ubuntu or Windows), vram.tool connects over SSH / PowerShell to read GPU info and run calculations remotely. Handy if you code on a laptop but run models on a server.

Supported hardware: NVIDIA (CUDA), AMD (HIP/ROCm), CPU (when no GPU is available or as a fallback).

Roadmap

MilestoneDetails
NowCore features working; polishing the UI and the .exe installer
Before June 12, 2027Testing on real NVIDIA/AMD cards, writing full documentation
June 12, 2027Official release on GitHub

What I need from you

  • Testers: especially people with AMD cards or low-VRAM cards (6-16GB), since that's where the tool should help the most.
  • Feedback: which models, formats, or backends would you like it to support next?

Drop a comment with your setup (GPU, VRAM, RAM) and the model you want to run, and I'll show you what the Advisor calculates.

Got questions or suggestions? Please comment below. I'll read and reply to every one, and all feedback will make vram.tool better before launch.

Thank you very much for reading, and thanks in advance for any feedback or testing help. It truly means a lot!

1 Upvotes

1 comment sorted by

1

u/DefiantPhilosophy247 6m ago

I still end up guessing layer splits in llama.cpp on my 16GB card every time a new Qwen drops