corehu

OPEN MODELS

vit-with-attentions vs vit-with-hidden_states

vit-with-attentions and vit-with-hidden_states need about the same GPU memory (2 GB). Cheapest way to run them today: vit-with-attentions from $0.36 per hour on RTX A4000, vit-with-hidden_states from $0.36 per hour on RTX A4000.

vit-with-attentionsvit-with-hidden_states
Developeroptimum-intel-internal-testingoptimum-intel-internal-testing
Parameters90M90M
WeightsF32F32
License——
GPU memory needed≈ 2 GB≈ 2 GB
Cheapest GPU that fitsRTX A4000 · $0.36RTX A4000 · $0.36
Downloads3,2003,216

Memory figures are our estimates for inference; real use depends on resolution, batch size and context length.

Questions

Which needs less GPU memory, vit-with-attentions or vit-with-hidden_states?
vit-with-attentions and vit-with-hidden_states need about the same GPU memory (2 GB).
Which is cheaper to run, vit-with-attentions or vit-with-hidden_states?
Cheapest way to run them today: vit-with-attentions from $0.36 per hour on RTX A4000, vit-with-hidden_states from $0.36 per hour on RTX A4000.