Brandon Schneider
|
ce0367405b
|
feat(infra): device capability probe with framebuffer fallback
device_capability_probe.py: classify every device into a compute tier.
Tiers (highest to lowest):
GPU_CUDA — NVIDIA discrete + CUDA (NVENC, Ray GPU worker)
GPU_VAAPI — AMD/Intel discrete + VA-API (hardware encode)
GPU_APU — AMD integrated, yuvj420p, bandwidth-optimized
CPU_FFMPEG — Software encode only (libx264)
FRAMEBUFFER — /dev/fb0 DMA backplane (8.29 MB/frame at 1080p)
ESP32 — MCU, Q0_16 scalar in FreeRTOS idle hook
RELAY — Network only, no compute
OFFLINE — Unreachable
Features:
- Multi-GPU DRM render node scanning (card0=AMD, card1=NVIDIA)
- APU vs dGPU classification via device name + VRAM heuristics
- Framebuffer detection with /sys/class/graphics/fb0 resolution
- Ray scheduling helpers (get_ray_placement_strategy)
- Cluster probe via SSH
- JSON + human-readable output
|
2026-05-30 19:57:07 -05:00 |
|