corehu

OPEN MODELS

tiny-random-gpt2 vs tiny-random-GPTJForCausalLM

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

tiny-random-gpt2tiny-random-GPTJForCausalLM
Developerpeft-internal-testingpeft-internal-testing
Parameters——
WeightsF32F32
License——
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
Downloads20,93518,717

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-gpt2 or tiny-random-GPTJForCausalLM?
tiny-random-gpt2 and tiny-random-GPTJForCausalLM need about the same GPU memory (2 GB).
Which is cheaper to run, tiny-random-gpt2 or tiny-random-GPTJForCausalLM?
Cheapest way to run them today: tiny-random-gpt2 from $0.36 per hour on RTX A4000, tiny-random-GPTJForCausalLM from $0.36 per hour on RTX A4000.