Model & Platform · Sovereign AI8 min di lettura
Sizing egress=none Private AI before buying a single GPU
A laptop prototype hides the three numbers that decide whether Private AI survives finance and legal: KV-cache VRAM under real concurrency, row-level retrieval boundaries, and an agreed evaluation pass bar.
Why laptop pilots stall between Legal, Platform, and Finance
A proof of concept built in two weeks over fifty clean PDFs and a hosted LLM API proves almost nothing about production Private AI. The hard part begins the day after the demo: when the DPO blocks external API egress for customer or regulated records, when thirty concurrent users hit the inference endpoint at 09:30 Monday morning, and when the CFO asks why GPU nodes cost five figures a month while sitting 85% idle overnight.
Solving those constraints after hardware is ordered or cloud commitments are signed is the most expensive order of operations. Every durable Private AI system has to clear VRAM math, network isolation, and evaluation gates on paper first.
VRAM and memory-bandwidth math under real concurrency
Teams frequently size GPUs from parameter count alone ("a 70B model in FP8 is ~70 GB, so one 80 GB GPU is enough"). In production inference with vLLM or TensorRT-LLM, concurrent KV-cache allocation and memory bandwidth determine your actual node topology:
1. Model weights (FP8, 1 byte/param) : ~70.0 GB
2. KV-cache per 1k tokens (FP8 KV) : ~0.16 GB
32 concurrent requests × 16k context : ~81.9 GB (512k active tokens in flight)
(or ~41.0 GB at 8k average active context)
3. CUDA graphs, activations & runtime buffer : ~12.0–16.0 GB
------------------------------------------------------------------
Total VRAM required at 32×16k peak : ~164–168 GB → 1× 80 GB OOMs; requires 2× 141 GB or 4× 80 GB TP- Right-size model class per task before scaling hardware. Not every workflow needs a 70B general model. A fine-tuned or domain-adapted 8B–14B model evaluated against your own domain cases frequently beats a generic 70B prompt chain at one-fifth the VRAM footprint and p95 latency.
- Separate training from inference in Kubernetes. Training and batch evaluation are bursty, schedulable jobs suited for ephemeral GPU pools (or reserved cloud windows that scale to zero when queues empty). Interactive inference requires predictable baseline capacity with autoscaling tied to KV-cache utilisation rather than CPU percentage.
Engineering a real egress=none boundary
"Private AI" means more than hosting open-weight models inside your own AWS, GCP, Azure, or Huawei Cloud account or on-prem rack. We design production boundaries around explicit egress=none rules:
| Surface | Common leak vector | Production control |
|---|---|---|
| Model & container pull | Runtime downloads from public hubs during pod start | Digest-pinned images & weights mirrored into an internal registry |
| Inference & agent runtime | Telemetry SDKs, crash reporters, or unrestricted tool URLs | Kubernetes NetworkPolicy default-deny egress + explicit internal allowlists |
| Retrieval (RAG) | Prompt-stuffing documents across tenant or role boundaries | Row-level ACL filtering enforced in the database/vector query before context assembly |
| Data & weight custody | Unencrypted checkpoints or third-party backup replication | Customer-managed KMS/HSM keys, hybrid post-quantum TLS (ML-KEM) in transit, immutable audit logs |
Locking the evaluation bar and EU AI Act technical dossier up front
Never start training or RAG pipeline engineering without defining what "good enough to ship" means numerically. Build a golden evaluation harness of 150 to 500 real domain cases — edge-case contracts, ambiguous tickets, adversarial tool-call inputs — and agree up front with engineering and business owners on the exact pass bar for factual grounding, retrieval recall, tool-call safety, and p95 latency.
At the same time, map every candidate workflow against the EU AI Act risk tiers together with your legal counsel or DPO (we are engineers, not lawyers: we produce the technical inputs your legal team needs to sign off). High-risk or regulated workflows require data-lineage records, human-in-the-loop override mechanics, and immutable logging aligned with Articles 11 and 12 — controls that are straightforward to build into Week-1 architecture and painful to retrofit onto a live model.
Deciding whether — and how — to train and run AI on your own data?
The 4-week Private AI Blueprint hands over your data inventory, on-prem vs. own-cloud architecture, 12-month GPU FinOps model, EU AI Act dossier, and phased build plan in git.
