argoctl analyse
Inventory every node's CPUs, memory, GPUs, interconnect and storage, and report which models can be served and how.
Synopsis
sudo --preserve-env=ARGOCTL_BMC_PASSWORD argoctl analyse <site-file> [flags]Read-only
analyse changes nothing on the BMCs, the nodes or the cluster. Run it before buying, before provisioning, and before each deployment.
Description
analyse answers two questions: what hardware does this site have, and which models can it serve, and how.
Inventory
For every node it reads the BMC's Redfish inventory (Systems, Processors, Memory, PCIe devices, network adapters, storage and, on HGX baseboards, the NVSwitch fabric). This works before any OS is installed. Once nodes are provisioned it also logs in over SSH, and once the cluster exists it reads the GPU driver, for exact NVLink topology, RDMA link state and free disk.
| Reported | Detail |
|---|---|
| CPUs | Model, sockets, cores |
| Memory | Total RAM |
| GPUs | Model, count, memory per GPU, compute capability, BF16/FP8 support |
| GPU interconnect | NVLink with NVSwitch (all-to-all), NVLink bridges (pairs), or PCIe only; whether Fabric Manager is needed |
| Node interconnect | InfiniBand or RoCE NICs (RDMA) with speed and link state, GPUDirect RDMA capability; Ethernet NICs |
| Storage | Disks, size and type (NVMe, SSD, HDD) |
Model placement
For each model it computes the memory needed (weights at each precision plus KV-cache headroom, MoE models by total parameters) and picks the simplest layout that fits, following How models are placed on GPUs:
- replicate: the model fits on one GPU; one replica per GPU;
- tensor parallel within a node: 2, 4 or 8 GPUs per replica; above 2 GPUs only with NVLink;
- tensor × pipeline parallel across nodes: only when no single node is big enough, and only with RDMA between them.
It reports the GPUs per replica, the maximum number of replicas the site can run, what interconnect the layout needs and whether the site has it, and the deploy inference flags to use. When the cluster already runs inference deployments, replica counts are based on the GPUs that are still free.
By default it evaluates argoCTL's catalogue of popular open models (Qwen, Llama, gpt-oss, DeepSeek, Mistral and others, in each precision published for them). Use --model to evaluate specific Hugging Face models instead; their configuration is read from Hugging Face.
Flags
| Flag | Default | |
|---|---|---|
<site-file> | Path to the site file. | |
--node <name> | all | Only these nodes (repeat the flag). |
--model <id> | catalogue | Evaluate this Hugging Face model, e.g. Qwen/Qwen3-32B (repeat the flag). |
--max-model-len <tokens> | 8192 | Context length to size the KV cache for. |
--kv-headroom <percent> | 30 | Memory on top of the weights for KV cache and runtime, as a percentage of the weights (20-50 is typical). |
--source <auto|redfish|ssh> | auto | Where to read the inventory: Redfish always, plus SSH and the GPU driver when nodes are installed (auto). |
--hf-token-env <VAR> / --hf-token-file <path> | Hugging Face token, for reading the configuration of gated models. | |
--json | Print the report as JSON on stdout. | |
--parallel <n> | 8 | Nodes inventoried at the same time. |
--request-timeout <d> | 30s | One Redfish or SSH request. |
--timeout <d> | 15m | The whole run. |
Examples
# Everything, with the catalogue
sudo --preserve-env=ARGOCTL_BMC_PASSWORD argoctl analyse /etc/argoctl/site.yaml
# Specific models, with long contexts
sudo --preserve-env=ARGOCTL_BMC_PASSWORD,HF_TOKEN argoctl analyse /etc/argoctl/site.yaml \
--model meta-llama/Llama-3.3-70B-Instruct --model Qwen/Qwen3-32B \
--max-model-len 32768 --hf-token-env HF_TOKEN
# Machine-readable
sudo --preserve-env=ARGOCTL_BMC_PASSWORD argoctl analyse /etc/argoctl/site.yaml --json > analysis.jsonOutput
$ sudo --preserve-env=ARGOCTL_BMC_PASSWORD argoctl analyse /etc/argoctl/site.yaml
==> analyse /etc/argoctl/site.yaml: site dc1, 3 nodes (cp1, gpu1, gpu2); inventory from Redfish and SSH
cp1 Redfish: 2 CPUs, 24 DIMMs, 2 drives, 2 NICs
gpu1 Redfish: 2 CPUs, 32 DIMMs, 10 drives, 8 GPUs, 4 NVSwitches, 10 NICs
gpu1 SSH: NVLink all-to-all via NVSwitch; 8 InfiniBand ports up (400 Gb/s); GPUDirect RDMA capable
gpu2 Redfish: 2 CPUs, 32 DIMMs, 10 drives, 8 GPUs, 4 NVSwitches, 10 NICs
gpu2 SSH: NVLink all-to-all via NVSwitch; 8 InfiniBand ports up (400 Gb/s); GPUDirect RDMA capable
site evaluating 38 catalogue models at max-model-len 8192, KV headroom 30%
✓ analysis of site dc1: 16 GPUs on 2 nodes, 1,280 GB GPU memory (14s)
NODE CPU RAM GPUS GPU LINK NODE LINK STORAGE
cp1 2x AMD EPYC 9354 (64 cores) 256 GiB - - 2x 25GbE 2x 960 GB NVMe
gpu1 2x Xeon Platinum 8480+ (112) 2048 GiB 8x H100 80GB HBM3 (sm 9.0) NVLink/NVSwitch 8x IB NDR 400G (RDMA), 2x 100GbE 2x 1.9 TB + 8x 3.8 TB NVMe
gpu2 2x Xeon Platinum 8480+ (112) 2048 GiB 8x H100 80GB HBM3 (sm 9.0) NVLink/NVSwitch 8x IB NDR 400G (RDMA), 2x 100GbE 2x 1.9 TB + 8x 3.8 TB NVMe
Fabric Manager: required on gpu1, gpu2 (NVSwitch); started by the GPU Operator's driver
MODEL PRECISION WEIGHTS LAYOUT GPUS/REPLICA MAX REPLICAS NEEDS
Qwen/Qwen3-8B BF16 16 GB replicate 1 16 -
meta-llama/Llama-3.1-8B-Instruct BF16 16 GB replicate 1 16 -
Qwen/Qwen3-32B BF16 66 GB tensor parallel 2 2 8 NVLink ok
Qwen/Qwen3-32B-FP8 FP8 33 GB replicate 1 16 -
openai/gpt-oss-120b MXFP4 65 GB tensor parallel 2 2 8 NVLink ok (MoE: 5.1B active)
meta-llama/Llama-3.3-70B-Instruct BF16 141 GB tensor parallel 4 4 4 NVLink ok
RedHatAI/Llama-3.3-70B-Instruct-FP8 FP8 71 GB tensor parallel 2 2 8 NVLink ok
Qwen/Qwen3-235B-A22B-Instruct-2507-FP8 FP8 236 GB tensor parallel 4 4 4 NVLink ok (MoE: 22B active)
meta-llama/Llama-3.1-405B-Instruct-FP8 FP8 410 GB tensor parallel 8 8 2 NVLink ok
meta-llama/Llama-3.1-405B-Instruct BF16 812 GB TP 8 x pipeline 2 nodes 16 1 NVLink ok, RDMA ok (InfiniBand)
deepseek-ai/DeepSeek-V3.1 FP8 690 GB TP 8 x pipeline 2 nodes 16 1 NVLink ok, RDMA ok (InfiniBand) (MoE: 37B active)
... 27 more (--json for all)
How to deploy:
Qwen/Qwen3-8B argoctl deploy inference <site-file> --model Qwen/Qwen3-8B --replicas 16
meta-llama/Llama-3.3-70B-Instruct argoctl deploy inference <site-file> --model meta-llama/Llama-3.3-70B-Instruct --tensor-parallel-size 4 --replicas 4
meta-llama/Llama-3.1-405B-Instruct argoctl deploy inference <site-file> --model meta-llama/Llama-3.1-405B-Instruct --tensor-parallel-size 8 --pipeline-parallel-size 2
Full log: /var/log/argoctl/20261130T102233Z-analyse.logIn words: Qwen3-8B at BF16 needs 1 GPU per replica, so the site runs up to 16 replicas; Llama-3.3-70B at FP8 runs tensor parallel 2 within a node (8 replicas); Llama-3.1-405B at BF16 doesn't fit in one node's 640 GB, so it needs pipeline parallelism across both nodes, which requires the RDMA network the site has.
On a site whose GPUs are connected only by PCIe, the same report caps tensor parallelism at 2 and marks larger layouts NVLink missing; on a site without InfiniBand or RoCE, cross-node layouts are marked RDMA missing (see troubleshooting).
JSON
{
"site": "dc1",
"nodes": [
{
"name": "gpu1",
"cpu": { "model": "Intel(R) Xeon(R) Platinum 8480+", "sockets": 2, "cores": 112 },
"memory_gib": 2048,
"gpus": {
"model": "NVIDIA H100 80GB HBM3", "count": 8, "memory_gb": 80,
"compute_capability": "9.0", "bf16": true, "fp8": true,
"interconnect": "nvswitch", "fabric_manager_required": true
},
"rdma": { "type": "infiniband", "ports": 8, "speed_gbps": 400, "link_up": 8, "gpudirect": true },
"storage": [{ "type": "nvme", "size_gb": 1920, "count": 2 }, { "type": "nvme", "size_gb": 3840, "count": 8 }]
}
],
"models": [
{
"model": "meta-llama/Llama-3.3-70B-Instruct",
"precision": "bf16", "parameters_b": 70.6, "weights_gb": 141.1, "required_gb": 183.4,
"layout": "tensor_parallel", "tensor_parallel_size": 4, "pipeline_parallel_size": 1,
"gpus_per_replica": 4, "max_replicas": 4,
"needs": { "nvlink": true, "rdma": false }, "satisfied": true,
"deploy_flags": ["--tensor-parallel-size", "4", "--replicas", "4"]
}
]
}Exit codes
| Code | Meaning |
|---|---|
0 | The inventory completed for every node. |
1 | A node couldn't be inventoried (login, network), or the run couldn't start. |
2 | Usage error. |
Troubleshooting
| Symptom | Likely cause and fix |
|---|---|
Login: login refused / TLS handshake failed | Same as preflight: check the BMC password and verify_tls. |
A node shows GPUs: unknown | Some BMCs don't list PCIe devices over Redfish. Provision the node and re-run: the SSH inventory fills it in. |
NVLink missing for TP 4 or 8 | The GPUs are connected only by PCIe. Use replicate or TP 2, or a lower precision so the model fits fewer GPUs. |
RDMA missing for a cross-node layout | No InfiniBand or RoCE NICs with links up between the nodes. Use a lower precision so the model fits in one node, or fix the RDMA links (ibstat / rdma link on the node). |
InfiniBand ports down | Cables, switch ports or the subnet manager. On the node: ibstat; the fabric needs a running subnet manager (usually on the switch). |
can't read model configuration ... 401 | A gated model: accept its licence on Hugging Face and pass --hf-token-env / --hf-token-file. |
| A model you need isn't in the catalogue | Pass it with --model <hugging-face-id>. |
Related
argoctl preflight
Prove every node's BMC can boot it from Redfish virtual media, by booting a test image and waiting for it to report back, then restore the BMC.
argoctl ironic install
Install or repair Ironic on the management server in Docker Compose, download the deploy agent and OS image, and check it's healthy.