Brandon Schneider
de22c65f14
feat(infra): integrate edge WASM and GitHub batch compute tiers
...
- Update device_capability_probe.py to add BATCH and WASM tiers and fix a NameError bug on has_virtio_net.
- Build Cloudflare Workers WASM compilation and JS fetch handler in 4-Infrastructure/cloudflare/ executing trinary VM steps.
- Create GitHub Actions batch_compute.yml workflow to harvest runner minutes.
- Keep 4-Infrastructure/AGENTS.md updated with the WASM core library anchor.
Build: 3313 jobs, 0 errors (lake build)
2026-05-30 20:08:31 -05:00
Brandon Schneider
a8b79845b6
feat(infra): add ETHERNET compute tier for virtio-net PistPacket DMA
...
New tier between CPU_FFMPEG and FRAMEBUFFER:
GPU_CUDA(7) > GPU_VAAPI(6) > GPU_APU(5) > CPU_FFMPEG(4) >
ETHERNET(3) > FRAMEBUFFER(2) > ESP32(1) > RELAY(0)
- _detect_virtio_net(): probes /sys/class/net for virtio driver (0x1af4)
- PistPacket computation via TX/RX descriptor rings
- Host vhost-user backend does matrix transforms
- CRC32 hardware offload = witness verification
- Works in any VM with network (even without framebuffer)
2026-05-30 20:02:06 -05:00
Brandon Schneider
c73e9c4f02
fix(infra): handle Cirrus Logic virtual VGA and DRM naming edge cases
...
- Add Cirrus Logic (0x1013) and virtio (0x1af4) to vendor map
- Fix DRM card parsing for names like "card0-VGA-1"
- Virtual GPUs (cirrus, virtio) never classified as discrete
- Virtual GPUs skip VA-API tier, fall to FRAMEBUFFER
Racknerd microVM (2vCPU, 715MB, Cirrus VGA) correctly classified as
FRAMEBUFFER tier: 1024x768 @ 16bpp = 1.57 MB DMA backplane.
2026-05-30 19:59:38 -05:00
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