You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
619 B

[Unit]
Description=AI application deployed at the Edge
After=local-fs.target nvidia-ctk-init.service
Wants=nvidia-ctk-init.service
[Service]
ExecStartPre=-podman network create --ignore app
Environment=REGISTRY_AUTH_FILE=/etc/ostree/auth.json
[Container]
ContainerName=app-edge-ai
Image=quay.io/nmasse-redhat/app-edge-ai:latest
Network=app
# Needed for Nvidia GPU Acceleration
PodmanArgs=--runtime /usr/bin/nvidia-container-runtime --group-add=keep-groups
SecurityLabelDisable=true
Environment=NVIDIA_VISIBLE_DEVICES=nvidia.com/gpu=all
[Install]
# Start by default on boot
WantedBy=multi-user.target default.target