devpocket.dev

LLM VRAM कैलकुलेटर

GGUF model weights, exact KV cache, runtime overhead और GPU memory fit का अनुमान लगाएँ।

लोकल चलता है
टूल लोड हो रहा है…

इस्तेमाल कैसे करें

Model preset चुनें या parameter count और architecture भरें, फिर GGUF quantization, context length, parallel sequence count और KV precision चुनें। Weight memory का सूत्र parameters × effective bits per weight ÷ 8 है। KV cache का सूत्र 2 × layers × KV heads × head dimension × context × batch × bytes है; दो का factor keys और values दोनों रखता है। Hybrid models (Qwen3.6/3.8, Gemma 4, gpt-oss, Mistral Small 4) के presets उनका exact layout इस्तेमाल करते हैं, इसलिए sliding-window, linear-attention और MLA layers की memory ज़्यादा नहीं गिनी जाती। Runtime allowance weight memory का 10% और 0.5 GiB जोड़ता है। Backend allocations अलग होते हैं, इसलिए हर result को estimate मानें और headroom रखें।

आम सवाल

GGUF file raw 4-bit weights से बड़ी क्यों होती है?

Block scales, metadata, embeddings और higher precision पर रखे tensors effective bits per weight बढ़ाते हैं। Table typical effective GGUF rates इस्तेमाल करती है।

Context length memory को इतना क्यों बदलती है?

KV cache context length, batch size, layer count, KV heads, head dimension और हर cached value के bytes के साथ linear बढ़ता है।

Fit badge दिखे तो क्या model चलने की guarantee है?

नहीं। Backends, drivers, offloading, graph buffers और operating-system usage अलग होते हैं। Tight fit को extra headroom के साथ test करें।

मिलते-जुलते टूल