Black Friday: 10% off every GPU you launch, no code needed. Until 30 Nov. Rent a GPU

Arrakis / Models / paligemma-3b-pt-224

paligemma-3b-pt-224 GPU requirements

paligemma-3b-pt-224 has 2.9B parameters. To serve it, plan for about 7.0 GB of GPU memory in 16-bit, 3.5 GB in 8-bit or 1.8 GB in 4-bit, including about 20% for the KV cache and activations.

What it takes to serve it

GPU memory to run it for inference, with the smallest GPU setup that holds it and the lowest price on Arrakis right now.

PrecisionMemory and the smallest setup
16-bit7.0 GB: one RTX 4090 or RTX 3090
8-bit3.5 GB: one RTX 4090 or RTX 3090
4-bit1.8 GB: one RTX 4090 or RTX 3090

What it takes to fine-tune it

QLoRA trains adapters on a 4-bit frozen model, LoRA on a 16-bit one, and full fine-tuning updates every weight. Figures are before activations, which grow with batch size and sequence length.

MethodMemory and the smallest setup
QLoRA2.0 GB: one RTX 4090 or RTX 3090
LoRA7.0 GB: one RTX 4090 or RTX 3090
Full fine-tuning47 GB: one L40S, RTX 6000 Ada or RTX A6000

About the model

From its card and files on Hugging Face. Memory figures here follow the GPU memory guide.

Parameters
2.9B
License
gemma
Released
2024-05-12
Weights
google/paligemma-3b-pt-224

Deploy it on Arrakis

Open Models in the console, choose vLLM, SGLang or llama.cpp, and rent a GPU it fits on. You get an OpenAI-compatible endpoint with its own API key, and root SSH to the machine. Or run it yourself on any machine with enough GPU memory:

vLLM
vllm serve google/paligemma-3b-pt-224 --tensor-parallel-size 1

Questions

Live prices for every GPU are on the GPU prices page.

How much GPU memory does paligemma-3b-pt-224 need?
To serve it, about 7 GB in 16-bit, 4 GB in 8-bit, 2 GB in 4-bit, including about 20% for the KV cache and activations. To fine-tune it, about 2 GB with QLoRA, 7 GB with LoRA and 47 GB for full fine-tuning with Adam, before activations.
Can I run paligemma-3b-pt-224 on one GPU?
Yes. In 16-bit it needs about 7.0 GB, which fits on one RTX 4090 or RTX 3090.
What does it cost to run paligemma-3b-pt-224?
In 16-bit it needs one RTX 4090 or RTX 3090; in 4-bit, one RTX 4090 or RTX 3090. Each setup on this page shows the lowest price per GPU-hour on Arrakis right now, and you pay by the hour from a prepaid balance.
How do I deploy paligemma-3b-pt-224 on Arrakis?
Open Models in the Arrakis console, paste google/paligemma-3b-pt-224, choose vLLM, SGLang or llama.cpp, and rent a GPU it fits on. You get an OpenAI-compatible endpoint with its own API key, and root SSH to the machine.