Developers

Requirements

Hardware, system and network a server needs to share with the official image.

Updated:

Platform

The image is multi-architecture: linux/amd64 and linux/arm64. It runs on Docker, Podman, containerd or any OCI-compatible runtime, and on any Kubernetes distribution that uses one of them.

CPU only

ResourceMinimumRecommended
Memory8 GB16 GB or more
Free disk40 GBMore if you allow large models (PIAP_DISK_GB)

Without a GPU, use the cpu variant. Which models fit depends on memory: with more memory the server can run more models and therefore receive more requests.

With a GPU

  • NVIDIA GPU with 8 GB of GPU memory or more.
  • NVIDIA driver 531 or later on the host.
  • NVIDIA Container Toolkit for Docker or Podman, or the NVIDIA device plugin on Kubernetes.
  • The cuda variant of the image. The GPU libraries of the piap model engine are already inside: the host only needs the NVIDIA driver and runtime.

With a GPU, PIAP_MAX_MEMORY_PERCENT applies to GPU memory. The server still needs the memory and disk of the CPU-only case.

Network

Only outbound HTTPS (port 443) to these hosts. No inbound ports, public IP or port forwarding needed.

NetworkHosts
Production (PIAP_NETWORK=prod)api.piap.io, models.piap.io, registry.piap.io
Lab (PIAP_NETWORK=lab)staging-api.piap.io, staging-models.piap.io, staging-registry.piap.io

The container port 9090 (health, status and metrics) is for your internal network only: do not expose it to the internet.

The server clock must be synchronized (NTP): sessions from a badly skewed clock are rejected.