Kiran Tallapragada

Field notes Product

gpu-fit 2: from “will it fit?” to “which layer is failing?”

gpu-fit answers whether an open model fits on a GPU. Version 2 will also check a running vLLM server against that plan and probe its speed, then label each finding with the layer it belongs to. Version 1.2 with vLLM 0.34 sizing is out now; 2.0 follows in January 2027.

gpu-fit answers one question well: will this open model fit on this GPU, how much context will it hold, and which vllm serve command to start it with. Its predictions are checked against real runs on three GPUs, and the raw data is public.

But the failures that cost the most time start after the plan. In Self-hosted AI, layer by layer, each of the nine layers has a check that separates the symptom from the cause. Today most of those checks are done by hand, from a log line, a metrics page or a stopwatch.

gpu-fit 2 will run the first of them for you.

Plan it. Check it. Prove it.

gpu-fit plan is today’s tool under a clearer name (today you run gpu-fit MODEL): weights, runtime overhead, KV cache, requests at full context, the longest single request, and a suggested serve command.

gpu-fit check will read a running vLLM server and compares what it actually allocated with the plan: KV tokens, request slots against the card’s capacity, and the memory left for anything else sharing the GPU. A mismatch will be reported with the layer it belongs to and the next thing to look at.

gpu-fit probe will send a small fixed prompt and measure tokens per second against a baseline taken while the server was healthy. A sharp drop is the signal to look further: it is how a model that has quietly lost its GPU shows up, the failure behind layer 8. It brings the check from gpu-guard into the same install; gpu-guard stays available as a single binary for teams that want only the probe.

Every finding will carry a layer label from the map, so the report reads like the incident review you would want to run: what it looks like, what is actually wrong, and the check that proves it.

Built on measurements, starting today

The plan side only works if it matches the server version people run, and vLLM moves fast. Version 0.34 changed how the KV cache is sized: it now uses the memory actually free after warm-up instead of a fixed share of the card. So I measured it this afternoon on an NVIDIA L40S, same models, same 32K context and request slots as my earlier runs:

Model KV tokens, vLLM 0.31 KV tokens, vLLM 0.34 Change
Qwen3-8B 175,696 190,976 +8.7%
Qwen3-14B 75,888 88,576 +16.7%

Same card, same model, about 9 to 17% more KV-cache token capacity across concurrent requests, from a version change alone. gpu-fit 1.1 sized with the pre-0.34 rule, so on vLLM 0.34 it underestimated what fits. gpu-fit 1.2, released the same day, sizes for 0.34 using these runs.

What ships, and when

  • gpu-fit 1.2, released 29 Nov: vLLM 0.34 sizing, calibrated from today’s runs, with a --vllm-version switch so older servers keep their own rule. The accuracy table includes the new measurements.
  • gpu-fit 2.0, January 2027: check, probe and the layer-labelled report.

Free and open source under the MIT licence, with no dependencies, like today’s version.

How to follow it

  • Watch the repository for the 2.0 release.
  • Try today’s planner in the browser calculator or with pip install gpu-fit.
  • Open an issue with the failure you would most like check to catch. The first checks will follow what people actually run into.

Measured on AWS g6e (L40S, 46,068 MiB): vLLM 0.31.0 on 20 Nov 2026 and vLLM 0.34.0 on 29 Nov 2026, both at 32K context, 32 request slots and a 16-bit KV cache. Raw data is in gpu-fit’s bench/ folder.