corehu

OPEN MODELS

tiny-random-PhiForCausalLM vs llama2-kv-sharing

tiny-random-PhiForCausalLM and llama2-kv-sharing need about the same GPU memory (2 GB). Cheapest way to run them today: tiny-random-PhiForCausalLM from $0.36 per hour on RTX A4000, llama2-kv-sharing from $0.36 per hour on RTX A4000.

tiny-random-PhiForCausalLMllama2-kv-sharing
Developerecharlaixexplosion-testing
Parameters——
WeightsF32F32
Licenseapache-2.0—
GPU memory needed≈ 2 GB≈ 2 GB
Memory at 4-bit≈ 2 GB≈ 2 GB
Cheapest GPU that fitsRTX A4000 · $0.36RTX A4000 · $0.36
Downloads37,5303,667

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

Questions

Which needs less GPU memory, tiny-random-PhiForCausalLM or llama2-kv-sharing?
tiny-random-PhiForCausalLM and llama2-kv-sharing need about the same GPU memory (2 GB).
Which is cheaper to run, tiny-random-PhiForCausalLM or llama2-kv-sharing?
Cheapest way to run them today: tiny-random-PhiForCausalLM from $0.36 per hour on RTX A4000, llama2-kv-sharing from $0.36 per hour on RTX A4000.