Skip to Content

Deploy inference on an argoCTL-managed cluster

Analyse the hardware, create the cluster, deploy a model with vLLM, test it, scale it and remove it.

This guide serves models on the example site dc1: a control-plane server and two servers with 8× H100 80 GB GPUs each, connected by NVSwitch inside each server and InfiniBand between them. Every command runs on the management server.

Analyse what the site can serve

sudo --preserve-env=ARGOCTL_BMC_PASSWORD argoctl analyse /etc/argoctl/site.yaml

Read three things from the report:

  • The hardware: 16 GPUs in total, NVLink/NVSwitch inside each node, InfiniBand with GPUDirect RDMA between them.
  • The layout per model: for example, Qwen3-8B (BF16, 16 GB) fits one GPU, so it is replicated; Llama-3.3-70B at FP8 (71 GB) needs tensor parallel 2; Llama-3.1-405B at BF16 (812 GB) needs pipeline parallel across both nodes.
  • The flags: the "How to deploy" lines are ready to copy.

To evaluate particular models, or a longer context:

sudo --preserve-env=ARGOCTL_BMC_PASSWORD,HF_TOKEN argoctl analyse /etc/argoctl/site.yaml \
  --model meta-llama/Llama-3.3-70B-Instruct --max-model-len 32768 --hf-token-env HF_TOKEN

See How models are placed on GPUs for the reasoning.

Create the cluster

If you haven't yet (see Build your first site):

sudo argoctl create cluster /etc/argoctl/site.yaml
sudo argoctl verify cluster /etc/argoctl/site.yaml

Make sure GPUs allocatable, GPU usable from a pod and (for multi-node models) RDMA devices in pods are ok.

Deploy a model

A model that fits one GPU, with two replicas:

sudo argoctl deploy inference /etc/argoctl/site.yaml --model Qwen/Qwen3-8B --replicas 2

A gated model needs a Hugging Face token (accept the model's licence on Hugging Face first). Here, Llama-3.3-70B at FP8, two GPUs per replica, with an API key on the endpoint and a fixed address on the frontend network:

read -rs HF_TOKEN && export HF_TOKEN
read -rs API_KEY && export API_KEY
sudo --preserve-env=HF_TOKEN,API_KEY argoctl deploy inference /etc/argoctl/site.yaml \
  --name llama-70b --model RedHatAI/Llama-3.3-70B-Instruct-FP8 \
  --tensor-parallel-size 2 --replicas 2 --max-model-len 32768 \
  --hf-token-env HF_TOKEN --api-key-env API_KEY \
  --expose load-balancer --address 172.16.2.100

The command checks the plan before changing anything, then installs with Helm, waits for every replica to download and load the model, and smoke-tests the endpoint. The first deployment of a model takes longest (downloading the weights); later ones start from each node's cache.

Not sure what will happen? Add --dry-run to see the plan and the Helm values.

Test it

Find the endpoints:

sudo argoctl get inference /etc/argoctl/site.yaml
  NAME       MODEL                                 READY  GPUS        LAYOUT             ENDPOINT                      AGE
  qwen3-8b   Qwen/Qwen3-8B                         2/2    2 (1 x 2)   replicate          http://172.16.2.21:30080/v1   12m
  llama-70b  RedHatAI/Llama-3.3-70B-Instruct-FP8   2/2    4 (2 x 2)   tensor parallel 2  http://172.16.2.100/v1        4m

Call the OpenAI-compatible API:

curl -s http://172.16.2.21:30080/v1/models | jq '.data[].id'

curl -s http://172.16.2.100/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
        "model": "RedHatAI/Llama-3.3-70B-Instruct-FP8",
        "messages": [{"role": "user", "content": "Write a haiku about bare metal."}],
        "max_tokens": 100
      }' | jq -r '.choices[0].message.content'

Streaming works too: add "stream": true and use curl -N. Any OpenAI SDK works with base_url set to the endpoint.

Scale

Run the same command with a new replica count. Existing replicas keep serving during the rolling update:

sudo argoctl deploy inference /etc/argoctl/site.yaml --model Qwen/Qwen3-8B --replicas 6

get inference shows how many GPUs are still free. If there aren't enough for the new count, the command says so before changing anything.

Remove

sudo argoctl delete inference /etc/argoctl/site.yaml qwen3-8b
sudo argoctl delete inference /etc/argoctl/site.yaml llama-70b --purge-cache

The GPUs are free as soon as the pods stop. Without --purge-cache, the weights stay cached on the nodes for a quick redeploy.

A model too big for one node

When a model doesn't fit in one node's GPU memory even at FP8, split it across nodes with pipeline parallelism. This needs RDMA (InfiniBand or RoCE) between the nodes:

sudo --preserve-env=HF_TOKEN argoctl deploy inference /etc/argoctl/site.yaml \
  --model meta-llama/Llama-3.1-405B-Instruct \
  --tensor-parallel-size 8 --pipeline-parallel-size 2 \
  --hf-token-env HF_TOKEN --max-model-len 16384

Each replica uses all 8 GPUs of both nodes: tensor parallel within each node over NVSwitch, and two pipeline stages connected over InfiniBand with GPUDirect RDMA. argoCTL runs it as a LeaderWorkerSet (one pod per node). First check whether an FP8 checkpoint (meta-llama/Llama-3.1-405B-Instruct-FP8) fits one node: it's simpler, faster and survives a node failure.

Sizing checklist

  • Weights: parameters × bytes per parameter (BF16 2, FP8 1, INT4 ≈ 0.5). MoE models count all experts.
  • Headroom: 20-50% on top for the KV cache, more for long contexts and many concurrent requests.
  • Layout: replicate if it fits one GPU, tensor parallel within a node if not, pipeline parallel across nodes only as a last resort.
  • GPU generation: T4 has no BF16 or FP8; A100 runs FP8 checkpoints weight-only; L4, L40S, H100, H200 and B200 run FP8 natively.
  • Context: --max-model-len caps memory per request; lower it to serve more requests at once.

On this page