# InternVL2_5-4B-MPO GPU requirements

InternVL2_5-4B-MPO has 3.7B parameters. To serve it, plan for about 8.9 GB of GPU memory in 16-bit, 4.5 GB in 8-bit or 2.2 GB in 4-bit, including about 20% for the KV cache and activations.

[Deploy it on Arrakis](/console/#/models?model=OpenGVLab/InternVL2_5-4B-MPO).

## What it takes to serve it

| Precision | Memory and the smallest setup |
|---|---|
| 16-bit | 8.9 GB: one [RTX 4090](/gpus/rtx-4090.html.md) or [RTX 3090](/gpus/rtx-3090.html.md) |
| 8-bit | 4.5 GB: one [RTX 4090](/gpus/rtx-4090.html.md) or [RTX 3090](/gpus/rtx-3090.html.md) |
| 4-bit | 2.2 GB: one [RTX 4090](/gpus/rtx-4090.html.md) or [RTX 3090](/gpus/rtx-3090.html.md) |

## What it takes to fine-tune it

| Method | Memory and the smallest setup |
|---|---|
| QLoRA | 2.6 GB: one [RTX 4090](/gpus/rtx-4090.html.md) or [RTX 3090](/gpus/rtx-3090.html.md) |
| LoRA | 8.9 GB: one [RTX 4090](/gpus/rtx-4090.html.md) or [RTX 3090](/gpus/rtx-3090.html.md) |
| Full fine-tuning | 59 GB: one [H100](/gpus/h100.html.md) or [A100](/gpus/a100.html.md) |

## About the model

| | |
|---|---|
| Parameters | `3.7B` |
| Published in | `BF16` |
| License | `mit` |
| Released | `2024-12-20` |
| Weights | [OpenGVLab/InternVL2_5-4B-MPO](https://huggingface.co/OpenGVLab/InternVL2_5-4B-MPO) |

## Serve it yourself

```
vllm serve OpenGVLab/InternVL2_5-4B-MPO --tensor-parallel-size 1
```

## Questions

**How much GPU memory does InternVL2_5-4B-MPO need?** To serve it, about 9 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 3 GB with QLoRA, 9 GB with LoRA and 59 GB for full fine-tuning with Adam, before activations.

**Can I run InternVL2_5-4B-MPO on one GPU?** Yes. In 16-bit it needs about 8.9 GB, which fits on one RTX 4090 or RTX 3090.

**What does it cost to run InternVL2_5-4B-MPO?** 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 InternVL2_5-4B-MPO on Arrakis?** Open Models in the Arrakis console, paste OpenGVLab/InternVL2_5-4B-MPO, 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.


More models: [/models](/models.html.md).
