What GPU do I need to run microsoft/trocr-base-handwritten?
333M parameters, published in F32. View on Hugging Face
trocr-base-handwritten is published by microsoft on Hugging Face, with 172,972 downloads and 514 likes to date. It's a VisionEncoderDecoderModel model built for image-to-text, published natively in F32.
VRAM required & cheapest live GPU fit
Required VRAM = weight size at each precision, plus a fixed overhead for KV-cache, activations, and fragmentation. Full formula and assumptions: methodology.
A GPU is only matched to a row if its hardware supports that precision, and the primary recommendation is always a single-GPU fit when one exists.
INT4 caveat: requires a quantized checkpoint actually published for this model, check its Hugging Face page before relying on this row.
Cheapest way to run trocr-base-handwritten at its published (F32) precision: 1× P4 on akash, at $0.032/hr per GPU ($0.032/hr total). Quantizing to FP8 or INT4 (rows above) can cost less, but requires a compatible quantized checkpoint to exist for this model.
Weight-to-VRAM math, the fit rules, and how live prices are normalized: full methodology.
More microsoft models
- Florence-2-base (232M, F16)
- phi-2 (2.8B, F16)
- VibeVoice-ASR (8.7B, BF16)
- Phi-3.5-vision-instruct (4.1B, BF16)
- Florence-2-large (777M, F16)
- phi-4 (14.7B, BF16)