fix(agent): make GPU passthrough optional
Heimdall Gitea / Build and tests (pull_request) Successful in 16m45s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
Heimdall Gitea / Build and scan agent image (pull_request) Successful in 7m31s
Heimdall Gitea / Build and scan server image (pull_request) Successful in 7m44s
Heimdall Gitea / Publish Docker Hub latest tags (pull_request) Skipped
Heimdall Gitea / Build and tests (pull_request) Successful in 16m45s
Heimdall Gitea / Publish versioned release (pull_request) Skipped
Heimdall Gitea / Build and scan agent image (pull_request) Successful in 7m31s
Heimdall Gitea / Build and scan server image (pull_request) Successful in 7m44s
Heimdall Gitea / Publish Docker Hub latest tags (pull_request) Skipped
This commit is contained in:
1 parent
8d116bd3cc
commit
a2f75a00a7
9 files changed
+85
-56
No files matched your search
@@ -14,6 +14,7 @@ vidéosurveillance IA locale, multi-site, auto-hébergée.
|
||||
| **Plan d'implémentation historique** (MVP juillet 2026) | `docs/implementation.md` |
|
||||
| **Maquettes UI Blazor** détaillées | `docs/ui-pages.md` |
|
||||
| **Application web installable (PWA)** | [Audit et plan PWA](pwa.md) |
|
||||
| **GPU Agent** | [Accès matériel et état de l'inférence](gpu-runtime.md) |
|
||||
|
||||
## 🏗️ Domaines fonctionnels
|
||||
|
||||
@@ -35,6 +36,7 @@ vidéosurveillance IA locale, multi-site, auto-hébergée.
|
||||
| **Hangfire (jobs)** | `docs/hangfire-usage.md` | Configuration actuelle et jobs présents; vérifier l'état des parcours dans l'audit |
|
||||
| **SignalR (temps réel)** | `docs/signalr-usage.md` | Hubs et contrats documentés; état du streaming live dans l'audit |
|
||||
| **Déploiement Docker** | `docs/specs.md` (§30) | Containers, GPU passthrough, docker-compose |
|
||||
| **GPU Agent** | [Accès matériel et état de l'inférence](gpu-runtime.md) | Profils facultatifs; l'inférence ONNX publiée reste CPU |
|
||||
|
||||
## 📐 Structure du projet
|
||||
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
# GPU device access and inference status
|
||||
|
||||
The default Agent uses `CPUExecutionProvider`. The published Agent image only
|
||||
contains the CPU ONNX Runtime package. GPU detection and inventory report host
|
||||
hardware; they do not mean that frame inference is running on that hardware.
|
||||
|
||||
The default Compose files do not require a GPU. Optional overlays expose a
|
||||
device to the Agent for inventory and hardware experiments:
|
||||
|
||||
```sh
|
||||
# NVIDIA
|
||||
docker compose --env-file docker/.env \
|
||||
-f docker/docker-compose.yml \
|
||||
-f docker/docker-compose.gpu-nvidia.yml \
|
||||
--profile gpu-nvidia-inventory up -d heimdall-agent
|
||||
|
||||
# AMD ROCm devices
|
||||
docker compose --env-file docker/.env \
|
||||
-f docker/docker-compose.yml \
|
||||
-f docker/docker-compose.gpu-amd.yml \
|
||||
--profile gpu-amd-inventory up -d heimdall-agent
|
||||
|
||||
# Intel render device
|
||||
docker compose --env-file docker/.env \
|
||||
-f docker/docker-compose.yml \
|
||||
-f docker/docker-compose.gpu-intel.yml \
|
||||
--profile gpu-intel-inventory up -d heimdall-agent
|
||||
```
|
||||
|
||||
Use the same overlay with `docker/docker-compose.prod.yml` in place of the
|
||||
development file. For Intel and AMD hosts, set `VIDEO_GID` and `RENDER_GID` to
|
||||
the host group IDs that can access `/dev/dri`. The NVIDIA option requires the
|
||||
NVIDIA Container Toolkit and Docker Compose GPU device reservations.
|
||||
|
||||
These overlays only expose devices for Agent inventory. They do not enable
|
||||
GPU-accelerated ONNX inference. Enabling that requires a GPU-specific runtime
|
||||
image, selecting and reporting the provider actually attached to the ONNX
|
||||
session, and validation on real supported hardware with a CPU fallback.
|
||||
Reference in new issue
Block a user