hyperlakeDiscuss a deployment ↗
Blog · 5 min read

How to build an on-premises AI factory: reference architecture and bill of materials

A practical on-premises AI factory design, component bill of materials and acceptance plan without invented hardware sizing.

Six-layer stack from power and cooling up to applications.

Don't start with the GPU order. To build an on-premises AI factory you need a governed path from data intake to model evaluation and production serving, backed by compute, storage, networking and a team to run it. Size those pieces against a representative workload before buying hardware, because GPU count alone can't tell you whether you'll meet latency, recovery or data-control requirements.

Read what follows as an AI factory design guide for a customer-controlled deployment. The bill of materials lists the decisions a supplier quote has to settle. It isn't a tested hardware configuration, and it makes no claim about capacity.

Six-layer stack from power and cooling up to applications.

What should acceptance cover?

Decide how you'll know it works before you buy anything. Run the chosen workload with representative data and concurrent demand, and record output quality next to latency, throughput and resource use. A fast endpoint that gives unsuitable answers hasn't met the requirement.

Then break things on purpose: take down a node, make the retrieval store unavailable, fill a disk, reject a permission request. Errors should be visible. Recovery shouldn't depend on knowledge only one operator has.

Finally, restore everything needed to reproduce a release. Backed-up model weights aren't enough if the tokenizer, configuration, retrieval index or source permissions are missing. Hand the operations team the runbooks and escalation contacts before anyone calls the platform ready.

What should the first workload establish?

Something you can measure. Say it's a document assistant: spell out which documents it may retrieve, who's allowed to use it, the expected request patterns and what a useful answer looks like. A simulation pipeline needs different things named, namely the input assets, the job duration target and the artifacts you must keep.

Real input sizes matter. Long documents, big images and concurrent requests can shift memory and throughput needs a lot, and a demo with short prompts won't size a system that has to chew through lengthy technical manuals.

Agree on failure behaviour too. A service that can queue work overnight needs a different design from one sitting behind an interactive workflow. Should a failed request retry, return a clear error, or use an approved fallback? Careful with the last one: a fallback outside the intended environment is a data-flow decision, whether or not anyone treats it as one.

AI factory reference architecture: what does it look like?

Shared platform controls sit apart from workload-specific components in the layout below. The names are possible components, and nobody expects you to install every product shown.

Architecture connecting Users and applications, Identity-aware gateway, Model serving: KServe, Retrieval: Qdrant or Milvus, Approved document and object storage, Data intake and validation, Processing: Spark or Trino where appropriate, Evaluation and model registry, Release approval, Kubernetes and GPU node pools, Access policy, secrets and audit collection, Monitoring, backup and recovery.

Trace two paths. One is a user request through the gateway, the serving layer and the retrieval store. The other is an administrator changing a model version. They need different permissions, and each needs records an operator can inspect.

Sharing a cluster takes more than creating namespaces, and Kubernetes guidance on multi-tenancy explains why. Your isolation choices have to cover network access, resource contention and how far the workloads trust each other.

Which components belong in the bill of materials?

LayerWhat to specifyWhat determines quantity or capacity
CPU infrastructureControl plane, services and processing workersAvailability design and measured non-GPU work
GPU infrastructureAccelerator memory, supported runtime and server compatibilityModel footprint, concurrency and evaluation results
Working storageDataset, checkpoint and intermediate artifact requirementsActive workload volume and access pattern
Durable storageObject data, model artifacts and retentionGrowth, replication and recovery policy
NetworkHost links, storage paths and any accelerator interconnectMeasured transfer demand and topology
FacilityRack space, power, cooling and physical accessSupplier specifications and facility assessment
Platform softwareKubernetes distribution, serving, identity and monitoringSupport model, compatibility and licensing
RecoveryBackup destination, spare capacity and restore processAgreed recovery objectives
OperationsCoverage, escalation and maintenance ownershipService hours and internal capability

Get a quote that splits hardware, software subscriptions, support, installation and ongoing services. A good-looking server price can hide a facility upgrade, or a software combination nobody supports.

One more trap: choosing an accelerator because its memory fits the model weights. Serving also eats memory for runtime state and concurrent requests. Measure the model configuration you actually intend to run, with representative inputs, before you turn a memory estimate into a purchase.

How should GPU scheduling be introduced?

Begin with the vendor's supported path. The NVIDIA GPU Operator manages the software components needed to expose NVIDIA GPUs in Kubernetes, and its supported combinations and installation requirements should steer the platform build.

Give interactive serving and batch work separate workload classes from day one, and decide how priorities, quotas and maintenance affect each. A batch evaluation quietly eating the resources reserved for a production endpoint is something nobody wants.

Below is a small illustrative namespace quota. It assumes the NVIDIA extended resource is already configured, and it's not a deployment manifest or a sizing recommendation:

apiVersion: v1
kind: ResourceQuota
metadata:
  name: evaluation-gpu-budget
  namespace: ai-evaluation
spec:
  hard:
    requests.nvidia.com/gpu: "1"

It caps requested GPU resources in that namespace, and that's all. Network isolation, model-download authorisation, storage and workload safety belong to the wider platform design.

What data controls are easy to overlook?

Keep raw inputs, approved datasets, model artifacts and generated outputs clearly apart. A researcher should be able to say which source version produced an evaluation result without digging through someone's personal notebook.

Controls belong at the real data and service entry points. A gateway policy covers only traffic that goes through the gateway; direct database credentials, maintenance interfaces and background jobs each need their own.

HyperLake's architecture uses customer environments and modular data and AI components, with scoped access and policy checks at integrated access points. (Today those customer environments are AWS and Google Cloud accounts; on-premises deployment is coming soon.) A deployment review should list those access points explicitly and document whatever paths remain. Owning a policy engine doesn't mean enforcement is universal.

Physical AI workloads need provenance for sensor recordings, simulation assets and model releases. NVIDIA OSMO, Omniverse and Isaac components may be relevant, subject to licensing and validated integration. Remember that a simulation result doesn't prove safe behaviour in a physical environment.

How do you plan for disconnected operation?

Start by listing every external dependency: package repositories, container registries, model downloads, licence checks, identity services, telemetry and support tooling. Can each be mirrored or replaced, or does it need an approved connection?

A restricted network and an air-gapped deployment are two different promises. If the system has to keep running with no external connectivity, prove it during acceptance. Put certificate renewal, patch delivery and incident response in the test, since those usually break first.

Build a controlled promotion path for new artifacts, recording origin, integrity checks, review status and the environment where each artifact was evaluated. You'll be glad of it the day a model upgrade lands faster than the infrastructure team's normal release cycle.

Frequently asked questions

How many GPUs does an AI factory need?

There's no universal number. Size it against the models you've chosen, input lengths, concurrency, the mix of training and inference work, and availability needs, and get measurements before committing to a hardware quantity.

Is Kubernetes mandatory?

No, though it's a common orchestration choice and it fits this reference design. A smaller deployment can use something simpler if it still meets the same operational, security and recovery requirements.

Can the platform run without internet access?

Potentially. Every runtime and maintenance dependency has to support it, so confirm model distribution, licensing, updates, identity and support processes for each component you select.

Does on-premises deployment prove sovereignty?

Not by itself. It's a location choice. You still need to assess operator access, keys, external dependencies, contractual control and whether you can maintain or exit the system.

Start with a workload. Build the environment around it.

Explore example deployments, or see how the platform assembles, deploys, governs and operates the stack.