← AI Hashrate 中文

Can Tesla P4 8GB run gemma-4-12b-it?

NVIDIA · 8 GB GDDR5 · 192 GB/s bandwidth · Google · 11.95B · model ctx up to 256K

FF · No FitComposite score: VRAM headroom × 0.5 + tok/s speed × 0.5. Q4 @ 8K context.
CUDA

No — gemma-4-12b-it at Q4 needs ≈ 8.77 GB even at 4K context, beyond the Tesla P4 8GB's 8 GB GDDR5. It would only run with heavy CPU/disk offload. Decode at Q4/8K: ≈ 18.7 tok/s (estimated, batch 1). FP16 needs ≈ 27.29 GB — does not fit on this card. Estimates come from memory-bandwidth math; rows tagged measured override estimates. Relative ranking is more reliable than absolute tok/s. Methodology.

Cheapest GPU that can: H100 80GB SXM5 See fit details →or☁️ Rent on RunPod from ~$0.50/hr

Fit & speed by quant and context

QuantContextVRAM neededFits?tok/s (decode)
Q44K8.77 GBNo24.2 ± est.
Q48K default9.96 GBNo18.7 ± est.
Q432K17.13 GBNo6.3 ± est.
FP164K26.09 GBNo0.8 ± est.
FP168K default27.29 GBNo0.7 ± est.
FP1632K34.46 GBNo

Fits = weights + KV(ctx) + 1 GB overhead ≤ 95% of VRAM. Measured anchors are context-agnostic; the fit verdict is recomputed per context. A missing tok/s means the model is far beyond this card (offload-only territory).

VRAM breakdown at 8K context

QuantWeightsKV cacheOverheadTotal neededTesla P4 8GB VRAM
Q46.57 GB2.39 GB1 GB9.96 GB8 GB
FP1623.9 GB2.39 GB1 GB27.29 GB8 GB

Other GPUs that run gemma-4-12b-it

All GPUs for gemma-4-12b-it →

Other models for the Tesla P4 8GB

All models on the Tesla P4 8GB →