Does Qwen3-1.7B-Distilled-30B-A3B-SFT fit in 8GB of VRAM?

Yes. The best fit is F16 at 16,384 context with f16 KV — 6.33 GiB of 7.44 GiB usable, leaving 1.11 GiB headroom.

From the file· weights summed from filesFrom the file· KV computed per layerPredicted· speed and compute buffer
KV cache dtypef16q8_0q4_08 GB card, 7.44 GiB usable after overhead

Every quantization at every context

total memory required; green fits, red does not
QuantWeights4K8K16K32K64K128K
F163.79 GiB5.05.56.38.111.618.6
Q8_02.02 GiB3.23.74.66.39.816.8
Q5_K_M1.37 GiB2.63.03.95.79.216.2
Q4_K_M1.19 GiB2.42.93.75.59.016.0
From the filePredictedwhat these mean

Figures are GiB of total memory: weights plus KV cache plus compute buffer and backend overhead. Weights and KV are near-exact; the overhead term is modeled. Hover any cell for the breakdown.

Run it

The best-fitting configuration above, as a command:

llama-cli -hf reaperdoesntknow/Qwen3-1.7B-Distilled-30B-A3B-SFT \
  --ctx-size 16384 \
  -ngl auto

Recent llama.cpp defaults to --fit on with -ngl auto, so it will size the offload for you. The question worth your attention is not how many layers to offload but what context and quantization you are willing to live with — which is what the grid above is for.

Why there are no speeds on this page

A capacity is not a card. Whether a model fits depends only on memory, so every figure above holds for any 8GB accelerator. How fast it runs depends on memory bandwidth, which varies several-fold between cards of the same capacity — so putting a tokens-per-second number here would be inventing one. Pick a specific card from hardware and the speed column appears.

Why other calculators disagree

A parameters × bits ÷ 8 estimate ignores two things that dominate at long context. First, the weights themselves are not the nominal rate — quantizations are mixtures, so the real file is consistently larger than the label implies. Second, the KV cache grows linearly with context and, past about 32K, becomes larger than the weights for many models.