2.0 KiB
GPU device access and inference status
The default Agent image and install path use CPUExecutionProvider and do not
require NVIDIA. The optional amd64 CUDA image is built from
docker/Dockerfile.agent.gpu and published as eltruncho/heimdall-agent-gpu.
Its immutable image digest is stored in the signed agent-image-gpu.json
release asset. Central offers the NVIDIA install option when that signed
release metadata is present. Existing Agent Compose files remain CPU-only.
ONNX Runtime 1.22 GPU uses CUDA 12.8 and cuDNN 9. The optional image pins NVIDIA
12.8.1-cudnn-runtime-ubuntu24.04 to amd64 manifest
sha256:9175fa92f96de35a8cfb9493f0dfcf9435c7a597e9d95ad41d2cae382a95e3f9 and
uses the separate locked GPU NuGet dependency graph. See the ONNX Runtime CUDA
provider compatibility table
and NVIDIA CUDA image tag.
The installer sets Agent__InferenceExecutionProvider=CUDA and requests all
NVIDIA devices for that variant. CUDA initialization failure logs a warning
and falls back to CPU. A physical GPU, compatible host driver and NVIDIA
Container Toolkit are required; see the NVIDIA Container Toolkit install guide.
The docker-compose.gpu-{nvidia,amd,intel}.yml files remain inventory-only
overlays. For local development, the CPU default is
docker/docker-compose.agent.dev.yml; use
docker/docker-compose.agent.dev.gpu-nvidia.yml with --profile gpu-nvidia to
select the opt-in CUDA runtime. Intel and AMD inventory hosts may need
VIDEO_GID and RENDER_GID set to host group IDs that can access /dev/dri.
The image and Compose build acceptance and physical CUDA execution have not been run for this change. Local tests cover CPU fallback, CPU/GPU installer configuration and signed CPU/GPU release manifests; hardware execution remains open.